Difference between revisions of "PXV:CAB:SubnodeIdentification"
From PDF XChange PDF SDK
m |
|||
Line 18: | Line 18: | ||
Examples:<br/> | Examples:<br/> | ||
<code> | <code> | ||
− | "name1" | + | "name1" <br/> |
− | "[0]" | + | "[0]" <br/> |
"name1.name2[0][1].name3"<br/> | "name1.name2[0][1].name3"<br/> | ||
− | "[0].name4[1]" | + | "[0].name4[1]" <br/> |
</code> | </code> |
Revision as of 05:06, 15 June 2015
CAB subnode identification
BNF grammar definitions:
id ::= <regular-id> | (<array-index> ("" | "." <regular-id> )) array-index ::= "[" <integer> "]" <opt-array-index> opt-array-index ::= <array-index> | "" regular-id ::= <dic-name><opt-array-index> ( "" | "." <regular-id> ) dic-name ::= <a sequence of any character except of ".">
A subnode of CAB dictionary is identified by a string of <dic-name>
syntax.
A subnode of CAB array is identified by an integer index.
Additionally a generic multi-level subnode identification is supported through a string of <id>
syntax.
Examples:
"name1"
"[0]"
"name1.name2[0][1].name3"
"[0].name4[1]"