RE: Output HTML as Content of XML Elements

Subject: RE: Output HTML as Content of XML Elements
From: "Pawson, David" <DPawson@xxxxxxxxxxx>
Date: Fri, 25 Aug 2000 13:06:36 +0100
> 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


Current Thread