Re: [xsl] Preserving XHTML markup

Subject: Re: [xsl] Preserving XHTML markup
From: Adam Sherman <adam@xxxxxxxxx>
Date: Mon, 04 Feb 2002 13:14:15 -0500
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:


<p>
	Some html here.
</p>

Notice the lack of <b> tags.

Thanks,

A.
--
Adam Sherman
President & Chief Technologist
Tritus Consultant Group Inc.
+1 (613) 255-5164

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


Current Thread