This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Preserving XHTML markup
- From: Markus Spath <mspath at arcor dot de>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 04 Feb 2002 19:01:59 +0100
- Subject: Re: [xsl] Preserving XHTML markup
- References: <7810000.1012844273@saturn.mackay.privatus.ca>
- Reply-to: xsl-list at lists dot mulberrytech dot com
...
<xsl:template match="mycustomtag">
<p>
<xsl:copy-of select="." />
</p>
</xsl:template>
...
should work (also newbie)
markus
> xml:
> <mycustomtag>
> Some html <b>here</b>.
> </mycustomtag>
>
>
> How do I preserve things so I end up with:
>
> <p>
> Some html <b>here</b>.
> </p>
>
> My XSLT stylesheet loses all the markup in the children of
> selected/processed nodes...
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list