[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Nested elements problem


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

   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
Keywords