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
>    <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