[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Traversing nodes and storing a matched value

Subject: RE: Traversing nodes and storing a matched value
From: "Aron Bock" <aronbock@xxxxxxxxxxx>
Date: Wed, 29 Jun 2005 23:48:45 +0000
traversing nodes
Oh, I didn't know that ... I use xalan, and it must be more permissive.

To the OP: you could work around this by explicitly selecting relevant menu in the call to write-menu.

--A


From: "Michael Kay" <mike@xxxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE:  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: 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

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.