Subject: Re: [xsl] CDATA Handling|
From: Ken Starks <ken@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 06 Jan 2009 12:59:23 +0000
Michael Kay wrote:Basically they don't want to change the DTD and wants the data to be parse by the existing DTD.
It is impossible to specify in a DTD that CDATA sections are used, just as it is impossible to say that you have to use " rather than ' around attribute values. CDATA sections are just part of the lexical syntax layer: a DTD validator does not see if they are used or not, just as XSLT does not see if they are used.
If <x><![CDATA[abcde]]></x> is DTD valid, then so is <x>abcde</x> as it is identical input.
> >I guess the definition of professionalism is that if you're a > >professional, you advise the client when he gets the requirements > >wrong, and if you're not, you build whatever rubbish he asks for.I have a similar problem, and its time to name names. I am writing an
|<- Previous||Index||Next ->|
|Re: [xsl] CDATA Handling, Wendell Piez||Thread||Re: [xsl] CDATA Handling, David Carlisle|
|Re: [xsl] CDATA Handling, David Carlisle||Date||Re: [xsl] CDATA Handling, David Carlisle|