House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  XML

Check if node has child records

  << Previous Post |  RSS |  Subscribe to this Group Next >> 

Check if node has child records

Is there a way to check to see if a node has child nodes? I've got an xml Duane Boudreau 06/25/2008 10:04 AM

06/25/2008 10:04 AM
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.
<< Previous Thread Today's Threads Next Thread >>

Search xml

May 18, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference