Serializes a nodeset into string.
NAMESPACE
xmlns:AS="http://schema.advantages.cz/AsapFunctions"
SYNTAX
string NodeToString(nodeset nodes)
PARAMETERS
Name | Description |
---|---|
nodes | Nodeset to be serialized to string. |
EXAMPLE
This example transformation transforms input XML context store into scalar string context store that contains serialized XML.
Source XML
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:AS="http://schema.advantages.cz/AsapFunctions"
xmlns:date="http://exslt.org/dates-and-times"
exclude-result-prefixes="AS date">
<xsl:template match="ROOT">
<ROOT>
<value>
<xsl:value-of select="AS:NodeToString(/)"/>
</value>
</ROOT>
</xsl:template>
</xsl:stylesheet>