Re: [xsl] How to URL encode?

Subject: Re: [xsl] How to URL encode?
From: Kevin Rodgers <kevin.rodgers@xxxxxxx>
Date: Fri, 22 Apr 2005 17:08:40 -0600
David Carlisle writes:
> > That $ItemLink needs to be URL encoded. How can I do that??
> 
> If you are writing html XSLT engines will URL encode the href attribute
> of an a element automatically.

And if you're using some other output method in an XSLT 2.0 stylesheet,
you can use the XPath 2.0 escape-uri() function.

-- 
Kevin Rodgers

Current Thread