[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: copy-of and disabling output escaping
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@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
|
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
|