Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding First Empty node

Status
Not open for further replies.

kyern

Programmer
Mar 30, 2006
36
US
Hello, I am trying to setup an xml document that has a predefined number of nodes, I would like to parse for the first empty node and then enter data into it. The problem is i can find all empty nodes but not the first. I am using asp.

Thank You

David
 
How are you finding the empty nodes at the moment (post code)?

The XPath //*[. = ''] will return a nodeset of empty elements, of which u could use the first.

Jon

"I don't regret this, but I both rue and lament it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top