[Gambas-user] xml.read() no endelement when empty element

gaupe hennie at ...1826...
Sun Jan 6 18:26:16 CET 2008


if an xmlfile has an empty element for example

<groundspeak:travelbugs />

is an empty element with name groundspeak:travelbugs

now reading the xml file i do get an

Xml.node.type = XmlReaderNodeType.Element       as TRUE

but never a 

Xml.node.type = XmlReaderNodeType.EndElement    as TRUE

for that specific element. as it does not come up it comes up with the next
element if there is one
but thats all.

How am i supposed to find out the element is empty ?
-- 
View this message in context: http://www.nabble.com/xml.read%28%29-no-endelement-when-empty-element-tp14651081p14651081.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list