Message113666
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 |
|
Date |
User |
Action |
Args |
2010-08-12 08:05:18 | scoder | set | recipients:
+ scoder, effbot, mark, flox |
2010-08-12 08:05:18 | scoder | set | messageid: <1281600318.9.0.932071839044.issue9522@psf.upfronthosting.co.za> |
2010-08-12 08:05:17 | scoder | link | issue9522 messages |
2010-08-12 08:05:16 | scoder | create | |
|