[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Preserving XHTML markup
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|