Displaying Base64Binary Problem
Posted: Tue Feb 07, 2006 8:44 am
Hi all, i encountered a problem on displaying node value which is in Base64Binary data type when send it to XSL page. The node value is showing belows:
The original value before convert to binary type is "Testing".
In XSL, when i select the node value:
the XSL returned the binary value, "VABlAHMAdABpAG4AZwA=" not "Testing".
Actually my expected output is "Testing".
Does anyone know how to convert the binary data to string in XSL, please help me to solve the problem.
Code: Select all
<MessageTest xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="bin.base64">VABlAHMAdABpAG4AZwA=</MessageTest>
In XSL, when i select the node value:
Code: Select all
<xsl:value-of select=".//MessageTest">
Actually my expected output is "Testing".
Does anyone know how to convert the binary data to string in XSL, please help me to solve the problem.