Subject: RE: [xsl] following-sibling usage From: cknell@xxxxxxxxxx Date: Fri, 21 Feb 2003 12:18:42 -0500 |
Thank you. When can I expect to receive it? -- Charles Knell cknell@xxxxxxxxxx - email -----Original Message----- From: s-oualid@xxxxxxxxxxxxx Sent: Fri, 21 Feb 2003 14:46:02 +0100 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] following-sibling usage Hello there, I have a problem while using the following-sibling axis. Here's an simplified example of my XML data : <FICHE cdId="663" catanetId="13343" type="P" lang="FRA"> <TITRE>140 000 CHINOIS POUR LA GRANDE GUERRE</TITRE> <THEME>Histoire</THEME> <SOUSTHEME>Histoire Contemporaine</SOUSTHEME> <GENERIQUE> <GENERAL> <ENTREE lib="Durée"> <VALEUR>52 min</VALEUR> </ENTREE> <!-- MORE SUBTAGS HERE --> </GENERAL> <!-- MORE SUBTAGS HERE --> </FICHE> I want to make a test on the following sibling SOUSTHEME (subtag of FICHE), as my test always returned FALSE, I decided to write the data. Here's what I got in my xsl:for-each select="FICHE" : current : <xsl:value-of select="SOUSTHEME" /> following : <xsl:value-of select="following-sibling::SOUSTHEME[1]" /> And here's the output : current : Biographie following : As you see, this expression failed : select="following-sibling::SOUSTHEME[1]". How should I use the following sibling axis... I can't find my error ! :/ Any help would be appreciated. Thanks ! Simon XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] following-sibling usage, s-oualid | Thread | [xsl] java filtering and xs, jandra x |
Re: [xsl] replace jsp with xsl's, Ritu | Date | Re: [xsl] What is Saxon and Xalan, B. Tommie Usdin |
Month |