Subject: Re: [xsl]Problem with Position()? From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Sat, 13 Oct 2007 18:25:19 +0200 |
Try changing the test to use the preceding-sibling axis, thus:
<xsl:when test="count(preceding-sibling::p) = 0">
That test catches the first p in a series of neighboring p elements.
Cheers, -- Abel Braaksma
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl]Problem with Position()?, Jay Bryant | Thread | RE: [xsl]Problem with Position()?, Geert Josten |
Re: [xsl] Troubles with libxslt in , Abel Braaksma | Date | RE: [xsl]Problem with Position()?, Geert Josten |
Month |