开发者

How to get current document uri in XSLT?

How ca开发者_StackOverflown I access current xml document uri in XSLT?


This cannot be done in pure XSLT 1.0 without writing your own extension function.

In XSLT 2.0 (or XPath 2.0) one can use the standard XPath 2.0 function document-uri()


Short answer: No :)

You can't. The namespace URI is conceptually part of the element name and you can't use xsl:copy if you want to change the name.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜