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

Nested elements problem

Subject: Nested elements problem
From: "Justin F. Knotzke" <jknotzke@xxxxxxxxxx>
Date: Thu, 27 Nov 2003 17:27:52 -0500
xsl nested elements
   Hi,

   I am trying to create a XSL for an XML for display purposes. 

   I can't seem to figure out how to write the XSL for nested sections: "Appel
Cnt-Appel="1"> and the same for the Affectation Cnt-Affect.

   I had tried to use something like <xsl:for-each select="CCS-APPELS.Appel">
but to no avail.

   Here is the a sample of the XML file in question.

   What would a very simple XSL look like to display as HTML for this?

   Thank You

   J


<CCS-APPELS>
	<NomFichier_id>CCS-APPELS-20030707</NomFichier_id>
	<Appel Cnt-Appel="1">
		<CCS_id>C8</CCS_id>
		<Affectation Cnt-Affect="1">
			<RessourceAffectee_dthr>20030707102909</RessourceAffectee_dthr>
		</Affectation>
		<Affectation Cnt-Affect="2">
			<RessourceAffectee_dthr>20030707103014</RessourceAffectee_dthr>
		</Affectation>
	</Appel>
	<Appel Cnt-Appel="2">
		<CCS_id>C8</CCS_id>
	</Appel>
</CCS-APPELS>



-- 
Justin F. Knotzke 
jknotzke@xxxxxxxxxx 
http://www.shampoo.ca PGP: http://www.shampoo.ca/pubkey.txt
Colorless green ideas sleep furiously - Noam Chomsky

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.