Re: [xml] Second question about xmlTextReader (python)
- From: Daniel Veillard <veillard redhat com>
- To: Bjorn Reese <breese mail1 stofanet dk>
- Cc: Nathan Bullock <NathanB insigniasoftware com>, "'xml gnome org'" <xml gnome org>
- Subject: Re: [xml] Second question about xmlTextReader (python)
- Date: Thu, 7 Aug 2003 03:03:23 -0400
On Tue, Aug 05, 2003 at 10:07:24PM +0000, Bjorn Reese wrote:
Nathan Bullock wrote:
When the xmltextreader parses a tag such as <foo/> it only creates a start
element node, it never tells us that the end tag was parsed. Is the only way
to keep track of this type of tags to note the depth that the reader is at?
Use xmlTextReaderIsEmptyElement
Yep sorry about that, it's Microsoft playing with XML. IMHO the element
node (type = 15) should not really be there, it's not a node but it's the
that API is designed...
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]