xsl-list
[Top] [All Lists]

check for-each if a child exist and make loop for this too

2005-03-26 05:47:04
in a for-each loop 
i know only the name of the first node(jobdetails)
the second node(secondnode) could exist or maybe not.
(it has second position of Jobdetails).
how could i get the name of secound
node and make a for-each loop for this
one?

xml
---
</Jobdetails">
<secondnode>
  <tag1>a</tag1>
<tag2>aa</tag2>
<tag3>aaaaa</tag3>
</secondnode>

<thirdnode>
 <ta>4567</ta>
<tb>67890</tb>
<tc>ddd</tc>
</thirdnode>




</Jobdetails>



        

        
                
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anmelden: 
http://mail.yahoo.de

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>