[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] HTML Tags in XML


Subject: Re: [xsl] HTML Tags in XML
From: "andrew welch" <andrew.j.welch@xxxxxxxxx>
Date: Thu, 4 May 2006 13:34:09 +0100

On 5/4/06, Mukul Gandhi <gandhi.mukul@xxxxxxxxx> wrote:
On 5/4/06, andrew welch <andrew.j.welch@xxxxxxxxx> wrote:
>
> <xsl:template match="info">
>        <xsl:copy-of select="."/>
> </xsl:template>

Should'nt this template be

<xsl:template match="info">
    <xsl:copy-of select="node()"/>
</xsl:template>

Otherwise <info> tags would also come in the output..

It should, well spotted Mukul.



Current Thread