|
Subject: RE: [xsl] Unmatched Element need to retain From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Sat, 30 Aug 2008 08:45:31 +0100 |
> I'm doing XSLT (2.0) Transformation XML 2 XML using saxon9.
> Unmatched element name (input) should be retained in
> Transformed/output XML file.
> Please suggest.
Use the identity template:
<xsl:template match="*">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
Michael Kay
http://www.saxonica.com/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Unmatched Element need to, Colin Paul Adams | Thread | RE: [xsl] Unmatched Element need to, V.Ramkumar |
| RE: [xsl] Unmatched Element need to, V.Ramkumar | Date | Re: [xsl] Unmatched Element need to, Colin Paul Adams |
| Month |