[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: copy-of and disabling output escaping

Subject: RE: copy-of and disabling output escaping
From: "Didier PH Martin" <martind@xxxxxxxxxxxxx>
Date: Fri, 18 Feb 2000 20:50:54 -0500
xslt output escaping copy of
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 &lt;whatever&gt: 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@xxxxxxxxxxxxx
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.