
I can't find clarity on this: <sequence> <element name="foo" type="int" dfdl:lengthKind="explicit" dfdl:length="1"/> <element name="bar" type="int" dfdl:lengthKind="explicit" dfdl:length="1"/> <element name="foo" type="int" dfdl:lengthKind="explicit" dfdl:length="1"/> <element name="bar" type="int" dfdl:lengthKind="explicit" dfdl:length="1"/> </sequence> Is this allowed? If so, then the XPaths for accessing the 2nd foo would be foo[2], and the path "foo" would be ambiguous or could be treated as identifying an array. In which case one could do an expression dfdl:occursCount("foo") and get back 2 ?? Or am I completely missing the boat here? -- Mike Beckerle | OGF DFDL Workgroup Co-Chair | Tresys Technology | www.tresys.com