Subject: Re: [xsl] invalid xpath? From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Wed, 02 Jul 2008 14:53:42 +0200 |
Thank you Abel
[...snip...]
<xsl:when test="not(preceding-sibling::*)[starts-with($Arg,'
')]"> <xsl:call-template name="WS">
[...snip...]
OK, the foregoing is invalid 1.0. So I tried modifying it to this:
<xsl:when test="not(preceding-sibling::*) and starts-with($Arg,'
')"> <xsl:call-template name="WS">
Now there are no reported errors, but the test appears not to be working (at least, there is an extra leading space in the output document wherever this template has been called, compared with what Saxon was producing with the original test).
<xsl:template match="text()[following-sibling::nl]"> ....
<xsl:template match="text()"> ....
HTH, Cheers, -- Abel --
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] invalid xpath?, Trevor Nicholls | Thread | Re: [xsl] invalid xpath?, Abel Braaksma |
RE: [xsl] invalid xpath?, Trevor Nicholls | Date | Re: [xsl] invalid xpath?, Abel Braaksma |
Month |