xsl-list
[Top] [All Lists]

Re: [xsl] CDATA Handling

2009-01-06 06:18:31


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.

David



________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>