xsl-list
[Top] [All Lists]

Re: [xsl] CDATA Handling

2009-01-06 07:25:48
At 05:42 PM 1/6/2009, David Carlisle wrote:
As I said before, CDATA sections have absolutely nothing to do with DTD.
as you said before <x><![CDATA[abcde]]></x> and <x>abcde</x> is identical input but <x>See following image: <![CDATA[abcde]]></x> and <x>See following image: abcde</x> is not identical input in terms string handling if we further process this input. We need to change DTD
<!ELEMENT x         (#PCDATA)*>
to
<!ELEMENT x         (#PCDATA|y)*>
<!ELEMENT y         (#PCDATA)*>

if I want to categories the embed text (<x>See following image: <y>abcde</y></x>)



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