How can I access current xml document uri in XSLT?
相关问题
- Illegal to have multiple roots (start tag in epilo
- Newtonsoft DeserializeXNode expands internal array
- how to use special characters like '<'
- XML - XSLT - document() function inside count() fu
- convert logback.xml to log4j.properties
相关文章
- Creating XML Elements without namespace declaratio
- Get Attribute Value From Simple XML Using JQuery /
- Directly signing an Office Word document using XML
- When sending XML to JMS should I use TextMessage o
- Fragment Content Overlaps Toolbar and Bottom Navig
- Getting “Error: Missing Constraints in ConstraintL
- xslt localization
- Upgrading transaction.commit_manually() to Django
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.
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()