Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

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
langxml

  <xsl:template match="root">

...


    <newroot>
      <xsl:apply-templates/>

...


    </newroot>

...


  </xsl:template>

...