<?xml version='1.0'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
 <test>
  <xsl:attribute name="attr">
  <xsl:text>foo</xsl:text>
  </xsl:attribute>
</test>
</xsl:template>
</xsl:stylesheet>


normal-output:
<?xml version='1.0' ?>
<test attr="foo"/>

debug-output:
<?xml version='1.0' ?>
<test/>

