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

Re: copy html from xml to html

Subject: Re: copy html from xml to html
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 15 Apr 2003 15:27:24 +0100
copy html in xml
> It can be a good idea put all HTML into a CDATA section

Sometimes, but not very often. The purpose of a CDTATA section is to say
that the < in <html does not denote the start of an element tag.
Since it _does_ denote the start of an element tag, marking things
with CDATA complicates further processing, and in the case of XSLT
makes it hard to do anything at all without relying on
disable-output-escaping which is specified as being an optional feature
thus making your stylesheet inherently non-portable between
implementations.

In answer to the original question

> i need an xsl command to copy EXACLTY  html embedded in an xml file to the
> the output html, without having to declare ALL html tags in my dtd.
 
Most XSLT systems use (or can be made to use) a non validating parser
so you don't have to declare any elements in any DTD.


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 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.