Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] [XPath20] Decoding URIs

From: Colin Paul Adams <colin@------------------>
To:
Date: 11/2/2005 5:41:00 AM
>>>>> "Christian" == Christian Roth <roth@xxxxxxxxxxxxxx> 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


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent