This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Output HTML as Content of XML Elements
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Output HTML as Content of XML Elements
- From: "Pawson, David" <DPawson at rnib dot org dot uk>
- Date: Fri, 25 Aug 2000 13:06:36 +0100
- Reply-To: xsl-list at mulberrytech dot com
> There is an XML file whch already contains HTML markup.
> I want the HTML markup to be passed undamaged through an XSL
> transformation
> and to be output in the final HTML document:
Norm Walsh does this with his docbook stylesheets
(www.nwalsh.com)
any input markup which has the html namespace is simply
passed through to the output, less the namespace.
(I've just spent 5 mins trawling the code, and couldn't find it!)
Basically input =
<html:p>kkkkkk </html:p>
becomes
<p>kkkkk</p>
template match on html:*
element name="local-name()"
attribute copy-of
/element
/template
HTH DaveP
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list