xsl-list
[Top] [All Lists]

Re: encoding on parameters for document function (using saxon)

2005-10-11 04:40:52
"Sylvain" == Sylvain Hellegouarch <sh(_at_)defuze(_dot_)org> writes:

    Sylvain> Hello there, Forgive me my dullness but is this something
    Sylvain> that is "fixed" with XSLT 2 ? I came across the same
    Sylvain> issue recently and I still haven't found a good solution.

there are XPath 2.0 functions for this sort of thing:

encode-for-uri
iri-to-uri
escape-html-uri

It's the first one that's wanted here, I think

encode-for-uri ($m) should do the trick.
-- 
Colin Adams
Preston Lancashire

--~------------------------------------------------------------------
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>
--~--