[xmljs-users] Empty Nodes
Brought to you by:
djoham,
witchhunter
From: Thomas S. <tho...@gm...> - 2004-02-24 10:14:52
|
Hi I tried to parse nodes whitout text-content with the w3cdom-parser, until here there is no problem. When I try to get these empty nodes (to get the attributes) i can't access them, these nodes are not in the dom-tree. example xml taken from the sample-section and modified: <?xml version="1.0"?> <CONTACTS> <CONTACT id="4" > <FIRSTNAME> Kelly </FIRSTNAME> <LASTNAME> VanMcIntyre </LASTNAME> <ADDRESS> 92535 Highway 6 </ADDRESS> <CITY> Somewhere </CITY> <STATE> AZ </STATE> <ZIPCODE id="12345" /> </CONTACT> </CONTACTS> The Node "ZIPCODE" is not present in the dom-tree. Is there a way to get these Nodes? MfG Thomas Schletter -- Mail: tho...@gm... Tel: 0049 371/656 10654 |