|
Mailing Lists
|
Home /
Groups /
XML
Check if node has child records
Author: Duane Boudreau
Short Link: http://www.houseoffusion.com/groups/xml/thread.cfm/threadid:107#234
Is there a way to check to see if a node has child nodes? I've got an xml
file that I'm working with that looks something like the xml below. I need
to know if the inner menu nodes have children.
<menu>
<item>
<menu><menu>
<item>
<item>
<menu>
<item><item>
<item><item>
<menu>
<item>
</menu>
DUANE BOUDREAU | SANDY BAY NETWORKS
PRESIDENT AND CHIEF TECHNOLOGY OFFICER
P: 902.232.2345 x222 | P: 603.879.0249 x222 | F: 866.631.6272
SMART PEOPLE. SMART SOLUTIONS. | <http://www.sandybay.com/>
http://www.sandybay.com
____________________________________________________________________________
__________
Confidentiality Notice: This message including any attachments is for the
sole use of the
intended recipient(s) and may contain confidential and privileged
information. Any
unauthorized review, use, disclosure or distribution is prohibited. If you
are not the intended
recipient, please contact the sender and delete any copies of this message.
|
May 18, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||