Subject: RE: [xsl] Problems with a right order display of tags From: Bertrand Sauviat <bsauviat@xxxxxxxxxxxxxx> Date: Wed, 31 Mar 2004 11:57:21 +0200 |
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: [xsl] 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...
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Problems with a right ord, Jarno.Elovirta | Thread | RE: [xsl] Problems with a right ord, Ragulf Pickaxe |
RE: [xsl] Problems with a right ord, Jarno.Elovirta | Date | RE: [xsl] Problems with a right ord, Ragulf Pickaxe |
Month |