This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author scoder
Recipients effbot, flox, mark, scoder
Date 2010-08-12.08:05:16
SpamBayes Score 0.006790574
Marked as misclassified No
Message-id <1281600318.9.0.932071839044.issue9522@psf.upfronthosting.co.za>
In-reply-to
Content
lxml.etree has encapsulated this in a 'docinfo' property which also holds the XML 'version', the 'standalone' state and the DOCTYPE (if available).

Note that this information is readily available in lxml.etree for any parsed Element (by wrapping it in a new ElementTree), but not in ET where it can only be associated to the ElementTree instance that did the parsing, not one that just wraps a parsed tree of Element objects. I would expect that this is still enough to handle this use case, though.

Stefan
History
Date User Action Args
2010-08-12 08:05:18scodersetrecipients: + scoder, effbot, mark, flox
2010-08-12 08:05:18scodersetmessageid: <1281600318.9.0.932071839044.issue9522@psf.upfronthosting.co.za>
2010-08-12 08:05:17scoderlinkissue9522 messages
2010-08-12 08:05:16scodercreate