[xml] XMLReader and distinguish between <a /> and <a></a>
- From: Tomáš Pospíšil <killteck seznam cz>
- To: xml gnome org
- Cc: veillard redhat com
- Subject: [xml] XMLReader and distinguish between <a /> and <a></a>
- Date: Sun, 21 Aug 2011 10:58:17 +0200 (CEST)
Hello LibXML hackers,
I'm using xmlReader for recursive pre order traversal throught XML tree. Everything works well, but during
testing I faced problem with distinguish between
<doc>
<e1 />
<e1 ></e1>
<doc>
both e1 elements are on same level, so I don't know after call xmlTextReaderRead() if isn't XML well formed
or I have new node on same level.
In short I have to know what type element is (short version <a />, or long <a> </a>), how can I accomplished
that?
Thanks a lot, Tomas Pospisil
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]