THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
The easiest way to resolve this, is by making sure that you always have a template that matches the source root element and creates the target document's root element. In this case:
Code Block | ||
---|---|---|
| ||
<xsl:template match="root"> |
...
<newroot> <xsl:apply-templates/> |
...
</newroot> |
...
</xsl:template> |
...
|