xsl-list
[Top] [All Lists]

Re: How to URL encode?

2005-04-22 16:08:40
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>