Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #28169

XML parser: Element ordering?

Date 2012-08-31 14:03 +0200
Subject XML parser: Element ordering?
From Florian Lindner <mailinglists@xgm.de>
Newsgroups comp.lang.python
Message-ID <mailman.4007.1346414604.4697.python-list@python.org> (permalink)

Show all headers | View raw


Hello,

I plan to use the etree.ElementTree XML parser to parse a config file
in which the order of the elements matter, e.g.:

<A>
<C /><D />
</A>

is not equal to:

<A>
<D /><C />
</A>

I have found different answers to the question if order matters in XML
documents. So my question here: Does it matters (and is more or less
guarenteed to matter in the future) for the ElementTree parser of
python?

Thanks,

Florian

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

XML parser: Element ordering? Florian Lindner <mailinglists@xgm.de> - 2012-08-31 14:03 +0200

csiph-web