Subject: [xsl] Preceding comment() match From: "Karl Stubsjoen" <kstubs@xxxxxxxxx> Date: Thu, 21 Dec 2006 14:53:45 -0700 |
<!-- this is the comments, first preceding --> <xsl:template name="example">
Assuming that this xpath should work: <xsl:value-of select="preceding-sibling::comment()[1]"/>
But instead, I am matching on every preceding elements first comment tag. I just need "your" comment tag, and if you don't have one, then nevermind.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Why does '#' start a comm, Abel Braaksma | Thread | Re: [xsl] Preceding comment() match, Wendell Piez |
Re: [xsl] Why does '#' start a comm, Abel Braaksma | Date | Re: [xsl] Preceding comment() match, Wendell Piez |
Month |