RE: copying CData sections from the source to destination documents

Subject: RE: copying CData sections from the source to destination documents
From: R_KNOWLES <Richard.Knowles@xxxxxxxxxxx>
Date: Wed, 15 Nov 2000 09:45:30 +0000 (GMT)
>Does it matter whether the output uses character references or CDATA? They
>are just different ways of expressing the same information.

I think so. What we are trying to do is embed an XML fragment (or even
document) inside another XML document (they will have different dtd's). The
embedded XML is essentially irrelevant to my system in that I do not want to
validate it, check it, or transform it. I just want to pass it on to the
downstream systems in its XML wrapper - (Its this wrapper I want to perform a
transformation on).

The idea is that the downstream systems will be able to extract this embedded
data and treat it as XML. By holding it in a CDATA section I am able to make my
processes ignore it, however if they convert it to use character references
this will probably make it impossible for downstream systems to extract and
treat as XML - or will it?

Richard.

-----------------------------------------------------------------
        Visit our Internet site at http://www.reuters.com

Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread