xsl-list
[Top] [All Lists]

Re: [XPath20] Decoding URIs

2005-11-03 04:19:59
"Christian" == Christian Roth <roth(_at_)visualclick(_dot_)de> writes:

    >> You could write an xsl:function to do it.

    Christian> If that is possible without having to resort to a
    Christian> custom extension function as Michael Kay suggested
    Christian> earlier, I'd really love to see that.

I'm sure it is.

    Christian> I guess it probably is possible to decode a "%XX"
    Christian> character sequence into the respective integer using
    Christian> the "Functions on Numeric Values" and some
    Christian> <xsl:choose>. Then, I'd have to implement an UTF-8
    Christian> decoder (might also be possible, I guess) and then use
    Christian> fn:codepoints-to-string().

Yes. This is what I had in mind. I don't think it will be difficult.
-- 
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>