RE: [xsl] Preserving XHTML markup

Subject: RE: [xsl] Preserving XHTML markup
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 4 Feb 2002 18:32:11 -0000
> On 02/04/2002 07:01:59 PM +0100, Markus Spath wrote:
> > <xsl:template match="mycustomtag">
> >    <p>
> >      <xsl:copy-of select="." />
> >    </p>
> > </xsl:template>
>
> Sorry, that's what I tried first. Thing is, it does the <p> bit, but
> doesn't preserve markup: you get:

xsl:copy-of does preserve the markup. Perhaps you did xsl:value-of by
mistake?

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread