Hi,

I have the following xml and I want an xsl that the out put should be only part of the input xml including all attributes, text everything.

Input xml

<a>
    <b>
        <c id="k">test</c>
        <d id="y">test</d>
    </b>
</a>

Output

<b>
        <c id="k">test</c>
        <d id="y">test</d>
    </b>

In the above example output it does not have tag "<a>" Can someone provide the xslt please... In

<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
<xsl:output method="xml" indent="yes" omit-xml-declaration="yes" />

  <xsl:template match="b">
     <xsl:copy-of select = "."/>
  </xsl:template>

</xsl:stylesheet>