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

Re: a FAQ with no subject line

Subject: Re: a FAQ with no subject line
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Tue, 7 Mar 2000 22:41:51 -0700
email no subject line
>    <fulltext>all html tags etc</fulltext>
> if any of the tags are not closed then my
> xml file will not be generated properly.

If you want to put markup-that-is-not-XML-markup into an XML document, your
only option is to have it be a single span of unparsed character data:

<fulltext><![CDATA[html goes here]]></fulltext>

When you do this, you will not be able to access the internal structure of
the HTML because now it is just a string of text, not a serialized
representation of a tree of information. XML and XSL only deal with a
certain kind of structured data, of which HTML is not.

Some XSL processors support the disable-output-escaping mechanism (see the
XSLT spec), which will let you put that CDATA into a text node that, when
serialized, will not have XML markup characters escaped as &amp; &lt; &gt;
etc., but this is probably not what you want.


 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.