Subject: [xsl] XSLT: XPath: Siblings From: Lee Goddard <Home@xxxxxxxxxxxxxx> Date: Wed, 28 Feb 2001 09:10:30 +0000 |
<xsl:template match="/*/*"> | <xsl:value-of select="name()"/> --- <xsl:value-of select="preceding-sibling::*[name()]"/> | </xsl:template>
Shouldn't the second clause above output the value of the name of the preceding sibling? It seems to be outputting the text content of the first element on the page. I can't understand why?
All I ever do is ask questions here... many thanks for all the help I get; I can repay you on the Perl lists at activestate.com....
Cheers Lee
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] X3D issues for XSLT, from XSL, Don Brutzman | Thread | Re: [xsl] XSLT: XPath: Siblings, Jeni Tennison |
Re: [xsl] Template rules vs. XQuery, Jeni Tennison | Date | RE: [xsl] RE:"*NEVER* use for-each", FINLEY, Mike |
Month |