XSLT and XQuery Specifications - the source used to build the specs, and the errata
Other
30
stars
27
forks
source link
<!-- Template rule matching a key within a map where special characters in the key are already escaped --> <xsl:template match="fn:*[@key-escaped='true']/@key" mode="key-attribute"> <xsl:value-of select="concat($quot, ., $quot)"/> </xsl:template> <!-- Template rule matching a key within a map where special characters in the key need to be escaped --> <xsl:template match="fn:*[not(@key-escaped='true')]/@key" mode="key-attribute"> <xsl:value-of select="concat($quot, j:escape(.), $quot)"/> </xsl:template> #42