[xsl] [XPath20] Decoding URIs

Subject: [xsl] [XPath20] Decoding URIs
From: "Christian Roth" <roth@xxxxxxxxxxxxxx>
Date: Tue, 1 Nov 2005 23:44:19 +0100
Hi,

is there a method in XPath 2.0 - Functions to decode a URL (resp. its
fragment identifier part)? Or is this done by some way of casting?

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

Suppose I have this source XML:


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


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


Regards, Christian.

Current Thread