XSLT version 1 URL encoding

前端 未结 4 879
后悔当初
后悔当初 2020-12-17 16:03

Is there a URL encoding function in XSLT version 1? I need something similar to encodeURIComponent function in javascript?

Seeing as this is not possible as I\'m usi

4条回答
  •  余生分开走
    2020-12-17 16:41

    There isn't one. XSLT has no knowledge of URLs and HTML.

    Depending on the language and platform you are using, you may be able to use a XSLT extension that does that.

提交回复
热议问题