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

RE: Passing variables into XSLT via parameters ... can

Subject: RE: Passing variables into XSLT via parameters ... can't get it to work
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 24 May 2006 14:16:46 +0100
passing arguments into xsl
> I pass it in it 
> is a string - I am not surprised that it is a string, that is 
> whay I am using exslt:node-set in the first place, however 
> maybe it is not coercing correctly. 

It seems to be a common misunderstanding that xx:node-set() will parse a
string containing lexical XML and return a document node representing the
result of parsing the XML. It's possible that there may be some
implementations that do this. But the EXSLT spec[1] says that if you pass a
string as the argument, the result will be a text node whose string-value is
the same as the supplied string.

Michael Kay
http://www.saxonica.com/

[1] http://www.exslt.org/exsl/functions/node-set/index.html

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.