Re: [xsl] Preserving XHTML markup

Subject: Re: [xsl] Preserving XHTML markup
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Mon, 4 Feb 2002 13:46:36 -0500
Other responses to your question were almost there.  This produces what you
asked for:

<xsl:template match='mycustomtag'>
<p><xsl:copy-of select='.'/></p>
</xsl:template>

Cheers,

Tom P

[Adam Sherman]

> (Newbie Alert!)
>
> 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


Current Thread