![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] [XPath20] Decoding URIs [Thread Next] Re: [xsl] [XPath20] Decoding URIsTo: 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 | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||
|
