Subject: RE: [xsl] Traversing nodes and storing a matched value From: "Aron Bock" <aronbock@xxxxxxxxxxx> Date: Wed, 29 Jun 2005 23:48:45 +0000 |
From: "Michael Kay" <mike@xxxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: RE: [xsl] Traversing nodes and storing a matched value Date: Wed, 29 Jun 2005 19:52:24 +0100
XSLT 1.0 doesn't allow variables to be used in a match pattern.
Michael Kay http://www.saxonica.com/
> -----Original Message----- > From: Mat Bergman [mailto:matbergman@xxxxxxxxx] > Sent: 29 June 2005 19:35 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: RE: [xsl] Traversing nodes and storing a matched value > > This looks like a most elegant solution. One > head-scratching error occurs when I play with it using > the MSXML processor: > Variables may not be used within this expression. > menu[not(existes = -->$siteID<--)] > > When I hard-code the value in place of the variable, > it works fine. Am I missing something? > > Thanks, > > -Mat
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Traversing nodes and stor, Mukul Gandhi | Thread | [xsl] Character from numeric code? , Christian Wittern |
Re: [xsl] adding escaping slashes, Joe Stump | Date | [xsl] sorting issue, cookie king |
Month |