|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: [XPath20] Decoding URIs
>>>>> "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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart


![Re: [XPath20] Decoding URIs](/images/get_stylus.gif)





