The function default-collation() returns the default collation of the document.
|
XSLT
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/aaa"> <xxx> <xsl:value-of select="default-collation()"/> </xxx> </xsl:template> </xsl:stylesheet> |
|
|
XML
<aaa/> |
Output
<xxx>http://www.w3.org/2005/xpath-functions/collation/codepoint</xxx> |
| Previous chapter: | Use When |
| Next chapter: | - - - |
| Previous page: | - - - |
| Next page: | - - - |