This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Preserving XHTML markup


> 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@ntlworld.com
work: Michael.Kay@softwareag.com


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]