Re: [xslt] XPath weirdness



 >On Thu, Sep 13, 2001 at 12:58:27PM +0200, robert wrote:
 >> I'm observing the following with the latest libxml/libxslt versions.
 >> <xsl:template match="categorynode[@catid = $catid]">
 >>   <xsl:variable name="test" select="(parent::*)//categorynode[@catid = $catid]"/>
 >
 >  Dunno, use testXPath from libxml distribution to understand what's
 >happening. I don't even understand what the expresssion is supposed to
 >do.

You don't really have to, XSLT #2 only differs in that the $test variable
is inlined in the xsl:if-test. According to my common sense, that should
give me the same output, but it doesn't.

I'm just reporting what I see, in case someone else stumbles upon the same
problem. At the moment I'm bound to a tight schedule (aren't we all?) so I
cannot venture deeper into the problem at this point :(

                                                                    robert




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]