R
raga
Hi
When I have an element as
<book title ="xyz" author = "abc" >
<desc>
<![CDATA[Good book]]>
</desc>
</book
how exactly the DTD should look like.?
for the element desc which is child of book, I've tried
<!ELEMENT desc (#CDATA)>
my parser fails saying invalid element declaration.when i say
<!ELEMENT desc (CDATA)> i get one more error saying document structure
doesnt match the DTD?
could any one suggest the approriate dtd content for the same.
Thanks
When I have an element as
<book title ="xyz" author = "abc" >
<desc>
<![CDATA[Good book]]>
</desc>
</book
how exactly the DTD should look like.?
for the element desc which is child of book, I've tried
<!ELEMENT desc (#CDATA)>
my parser fails saying invalid element declaration.when i say
<!ELEMENT desc (CDATA)> i get one more error saying document structure
doesnt match the DTD?
could any one suggest the approriate dtd content for the same.
Thanks