This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: copy-of and disabling output escaping
- To: <xsl-list at mulberrytech dot com>
- Subject: RE: copy-of and disabling output escaping
- From: "Didier PH Martin" <martind at netfolder dot com>
- Date: Fri, 18 Feb 2000 20:50:54 -0500
- Reply-To: xsl-list at mulberrytech dot com
Hi Bill,
Bill said:
We have some XML that has embedded HTML inside the XML tags.
When we do an <xsl:copy-of> to move the HTML as a complete fragment, the
html tags get escaped into <whatever>: notation.
We have tried adding <xsl:output cdata-section-elements="..."> to the top of
the transform, but this results in extraneous bracket characters being
inserted into the text.
How can embedded XHTML be transformed via copyof without being escaped?
Didier replies:
It depends on the kind of XSLT processor you are using. Up to now, Saxon and
XT are good compliant candidate for your transformations. If you want an
example of copying XHTML fragment into a single document output got take a
look at my article in xml.com this week you may find what you are looking
for.
Cheers
Didier PH Martin
----------------------------------------------
Email: martind@netfolder.com
Conferences: Web New York (http://www.mfweb.com)
Book: XML Pro published by Wrox Press
Products: http://www.netfolder.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list