XSLT bug?
| From: | Vincent Jansen | Date: | Fri, 02 Apr 2004 12:16:43 +0000 |
| Subject: | XSLT bug? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182115@lists.php.net to get a copy of this message | ||
Don't know if this is the best place to post.
I'm also not shure if this is a problem with the PHP implementation or
it's something a bug in libxslt.
But here's the deal.
(I use php5.0.0RC1 for testing on winXP)
This works:
<xsl:if test="position() > $start">
<xsl:call-template name="someTemplate" />
</xsl:if>
And this doesn't:
<xsl:if test="position() < $start">
<xsl:call-template name="someTemplate" />
</xsl:if>
Seems to me the < gets interpreted as an opening tag
Vincent