D
David Shen
I would like to copy the entire tree. However, it only copy the text.
The xml file is the following:
<?xml version="1.0"?>
<hello>
Hello there, world!
<AAA>valueA</AAA>
</hello>
The xsl file is the following:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xslutput encoding="UTF-16" method="xml" indent="yes"/>
<xsl:template match="/">
<xsl:copy-of select="."/>
</xsl:template>
</xsl:stylesheet>
The result is
Hello there, world! valueA
I would like to get
<hello>
Hello there, world!
<AAA>valueA</AAA>
</hello>
Thanks
David
The xml file is the following:
<?xml version="1.0"?>
<hello>
Hello there, world!
<AAA>valueA</AAA>
</hello>
The xsl file is the following:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xslutput encoding="UTF-16" method="xml" indent="yes"/>
<xsl:template match="/">
<xsl:copy-of select="."/>
</xsl:template>
</xsl:stylesheet>
The result is
Hello there, world! valueA
I would like to get
<hello>
Hello there, world!
<AAA>valueA</AAA>
</hello>
Thanks
David