dp:binaryNodeToString()
Converts a binary nodeset to a string.
Namespace declaration
xmlns:dp="http://www.datapower.com/extensions"
Syntax
dp:binaryNodeToString(nodeset)
Parameters
- nodeset
- The
xs:blobthat specifies the data to convert.
Results
An xs:string that
represents the BLOB.
Example
…
<xsl:template match="/">
<xsl:variable name="input" select="dp:variable('var://context/INPUT')" />
<xsl:variable name="mystr" select="dp:binaryNodeToString($input)" />
<xsl:copy-of select="dp:stringToJSONx($mystr)"/>
</xsl:template>
…