Ouput unformatted XML with XSLT


/ Published in: XML
Save to your folder(s)

This is just something very simple that I needed to do.

It outputs an xml without any change at all.


Copy this code and paste it in your HTML
  1. <xsl:output method='xml' version="1.0" indent='yes'/>
  2. <xsl:template match="/">
  3. <xsl:copy-of select="."/>
  4. </xsl:template>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.