How to get an ordered list parsed by XML parser?

Posted by Matthias Doringer on Stack Overflow See other posts from Stack Overflow or by Matthias Doringer
Published on 2009-06-11T10:30:02Z Indexed on 2010/04/20 8:03 UTC
Read the original article Hit count: 220

Filed under:

I am using a xsd schema file; there I specified an ordered list. When parsing an XML node of the kind...

<myOrderedList> "element_1" "element_2" "element_3" </myOrderedList>

(which is valid XML syntax)

...all XML parsers I know parse this as a single node element. Is there a way to get the XML parser parse this list for me (return it as a list or an array or whatever) or do I always have to parse it myself?

© Stack Overflow or respective owner

Related posts about xml-schema