PXV:CAB:SubnodeIdentification

From PDF XChange PDF SDK
Revision as of 10:17, 21 May 2015 by Green (Talk | contribs) (Created page with "==CAB subnode identification== <br/><br/> BNF grammar definitions: <code> <nowiki> id ::= ("" | <array-index> ".") <regular_id> array_index ::= "[" <integer> "]" <opt-arra...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

CAB subnode identification



BNF grammar definitions:

 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.name2[0][1].name3"
"[0].name4"