FelixB Posted July 17, 2007 Share Posted July 17, 2007 Hi,i have this url:/search?q=drehstuhl%2Bkaputt&hl=de&ie=UTF-8&start=10&sa=Nhow can I decode it into/search?q=drehstuhl+kaputt&hl=de&ie=UTF-8&start=10&sa=Nunfortunately I can't use replace() :)thanks!Felix Link to comment Share on other sites More sharing options...
boen_robot Posted July 17, 2007 Share Posted July 17, 2007 Unfortunatly, XPath 1.0 and XSLT 1.0 don't alone provide any way of doing that. XPath 2.0 offers the urldecode() function, which is used exactly for that.EXSLT has the regular expression functions, which can be used for that, but their support is not completely consistent across processors.What XSLT processor are you using? Could you possibly use XSLT 2.0 somehow? Link to comment Share on other sites More sharing options...
FelixB Posted July 18, 2007 Author Share Posted July 18, 2007 thank you! I solved it by parsing manually. I hope in the near future i will be able to use XPATH 2.0... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.