xsl-list
[Top] [All Lists]

Re: [XPath20] Decoding URIs

2005-11-01 22:41:03
"Christian" == Christian Roth <roth(_at_)visualclick(_dot_)de> writes:

    Christian> I see there is fn:encode-for-uri, but I cannot find its
    Christian> counterpart.

There's no need for one, I would have said.

    Christian> Suppose I have this source XML:

    Christian>   <elem uri="cust:/dir/a%20value" />

    Christian> How can I set a variable x to hold the string
    Christian> "cust:/dir/a value"?

You could write an xsl:function to do it.
N.B. the result will not be a valid URI.
-- 
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>
--~--



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