This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: URL Encoding
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] URL Encoding
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Wed, 9 May 2001 11:23:51 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> one weird problem that I had was that I *had* to use the
> string function, I
> thought that (//parentCategory) would have been fine as is, but I was
> mistaken.
Not at all weird: the uriEncode function expects a string, it doesn't know
what do do if you give it a node-set. The XSLT processor doesn't know that
it expects a string, because JavaScript is untyped. If you were calling a
Java external function, the type conversion from node-set to string would be
done for you.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list