|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Problems with a right order display of tags
OK I have understand.. But I must show extract because my XSL and my XML are very large.. My XSL: <body> <table border="1"> <tr> <td> <xsl:apply-templates select="/tim/Tache_struct"></xsl:apply-templates> <xsl:apply-templates select="/tim/Tache_struct/Tache_atomique"></xsl:apply-templates> <xsl:apply-templates select="/tim/Tache_struct/Tache_struct"></xsl:apply-templates> </td> </tr> </table> </body> My XML: <tim> <Tache_struct> <Tache_atomique></Tache_atomique> <Tache_atomique></Tache_atomique> <Tache_atomique></Tache_atomique> <Tache_struct></Tache_struct> <Tache_struct></Tache_struct> <Tache_atomique></Tache_atomique> </Tache_struct> </tim> Actually after the transforamtion i have this result : <tim> <Tache_struct> <Tache_atomique></Tache_atomique> <Tache_atomique></Tache_atomique> <Tache_atomique></Tache_atomique> <Tache_atomique></Tache_atomique> <Tache_struct></Tache_struct> <Tache_struct></Tache_struct> </Tache_struct> </tim> I try to use <XSL:sort> in add an attribute at each Tache_struct and each Tache_atomique But the result is the same. Anybody has a solution to keep the same order of the tag after the transformation? Thanks :) -----Original Message----- From: Andrew Welch [mailto:AWelch@xxxxxxxxxxxxxxx] Sent: Wednesday, March 31, 2004 11:48 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: Problems with a right order display of tags > Yes i know that, i haven't use the good syntax in the mail > But I know all the right syntax!! > > I want a solution more "subjective" > Please :) But what is this? <xsl :call-templates match= /A > It is neither <xsl:template match="/A"/> <xsl:call-template name="A"/> Or <xsl:apply-templates select="/A"/> If you know all the right syntax then use it! No one can guess from your made up syntax what you are asking...
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








