xslt 1.0 base64 encode the content of a template
问题 How can I encode the content of a template in base64, using XSLT 1.0? Edit: using serialization mode, runing in PHP enviroment It's like i have a template like this: <xsl:template name="test"> <test gender="male" name1="TEST" name2="TEST"> <sometags> <tag></tag> </sometags> </test> </xsl:template> and I want the output to be like this: <base64