This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: CDATA block to node set.
- From: "J.Pietschmann" <j3322ptm at yahoo dot de>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 10 May 2002 20:41:28 +0200
- Subject: Re: [xsl] CDATA block to node set.
- References: <001301c1f7a8$82439c80$6501a8c0@pcukmka> <3CDAFD5B.8090605@it-c.dk>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Morten Primdahl wrote:
> Because I would like to parse my language for validity. Part of the
> language definition allows arbitrary well-formed XML as data input -
> so I guess my validity parse can only be "partial". If I use a DTD,
> I need to escape the arbitrary XML (hence the CDATA).
It could already help to use ANY as content.
I personally would either try to use refererences to arbitrary content
rather than to put it in inline (and pull it in using document() during
a transformation), or if you validate only batch-wise rather than in
a DTD driven XML editor you could use a transformation which strips
the "arbitrary XML" before validation.
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list