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


Groups > comp.lang.python > #28169 > unrolled thread

XML parser: Element ordering?

Started byFlorian Lindner <mailinglists@xgm.de>
First post2012-08-31 14:03 +0200
Last post2012-08-31 14:03 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

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

#28169 — XML parser: Element ordering?

FromFlorian Lindner <mailinglists@xgm.de>
Date2012-08-31 14:03 +0200
SubjectXML parser: Element ordering?
Message-ID<mailman.4007.1346414604.4697.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web