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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Preserving XHTML markup, David Carlisle | Thread | RE: [xsl] Preserving XHTML markup, Brinkman, Theodore |
RE: [xsl] Preserving XHTML markup, Michael Kay | Date | RE: [xsl] Preserving XHTML markup, Julian Reschke |
Month |