SVI-STP SSME
Squire Technologies - Confidential Document
Page
19
of
57
<GTT
Match
digits
=
"12345"
tt
=
"10"
/>
4.2.4.2
Translations
The Translation of digits is performed in slightly different manner that the translation of other
attributes, instead of replacing the whole digit string; it is required to state the new prefix and the
number of digits that the configuration is to strip from the front of the incoming digit string
Example Add Prefix 123 to all digits 456
<GTT
Match
digits
=
"456"
og.prefixDigits
=
"123"
/>
Example Replace Prefix 456 with 123
<GTT
Match
digits
=
"456"
og.prefixDigits
=
"123"
og.strip
=
"3"
/>
Example Remove Prefix 456
<GTT
Match
digits
=
"456"
og.strip
=
"3"
/>
4.2.5
Nesting
Nesting of match elements is powerful tool that allows nested match to inherit the conditions of its
parent as part of the current match
For example the user wishes to match an MTP DPC=123 and an OPC=234, 256, or 278 the Match could
be written as
Could be rewritten as
Element Node-1 would only be traversed if the incoming DPC was 123, any other value for the DPC
would omit these matches