House of Fusion
Home of the ColdFusion Community

Search xml

November 23, 2008

<<   <   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             

Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  XML

Check if node has child records

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group  
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Duane Boudreau
06/25/2008 10:04 AM

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  

Mailing Lists