Home

Dan Stromberg <dstromberglists@gmail.com> writes:

> Are there any python XML parsing API's that preserve comments

(I think you mean "python XML parsing libraries"; it's the library,
not the API, that preserves comments or not.)

I don't have an answer, but this may help to get more information.
The XML 1.0 specification allows for, but does not require, retention
of comments for access by the application:

2.5 Comments

[Definition: .... an XML processor MAY, but need not, make it
possible for an application to retrieve the text of comments. ...]

<URL:http://www.w3.org/TR/REC-xml/#sec-comments>

--
\ "Demagogue: One who preaches doctrines he knows to be untrue to |
`\ men he knows to be idiots." -- Henry L. Mencken |
_o__) |
Ben Finney

previous
next

Re: Curious question about the STL ostream
Re: unsigned char ---- a special type of integer
Re: global variables
Re: TypeError: 'module object is not callable'
Re: newbie: self.member syntax seems /really/ annoying
Pajacyk
Fundacja Avalon
Rodzic Po Ludzku
Krwinka
Kidprotect