[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: check for-each if a child exist and make loop for

Subject: RE: check for-each if a child exist and make loop for this too
From: "Stuart Brown" <stuart@xxxxxxxxxxxx>
Date: Sun, 27 Mar 2005 14:40:41 +0100
make loop
Hi Henry,

Not too sure what you want here: are you for-eaching the <Jobdetails>?
You seem to be missing a chunk of your XML.  If your XML actually looks like
this:

<yourParentNode>
<

-----Original Message-----
From: henry human [mailto:henry_human@xxxxxxxx] 
Sent: 26 March 2005 12:47
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  check for-each if a child exist and make loop for this too

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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.