Hi,

IMO you shoud use CDATA sections in your xml to put HTML code.
I do not think this will affect your DTD.

Regards,
Catalin

Pitts, Nathan wrote:

Hi all,



I have a question that I'm sure is very simple, but I haven't seen any
docs on it.  This is my first time using digester.  Let's say I have an
XML document (which is generated so I don't have control of it) that may
include HTML inside the XML elements.  Sometimes the HTML is not xml
compliant - like using a <p> without a </p>....Currently, my I am
getting null values for that element, although the other elements
(without embedded HTML) work fine.



Example:



<book>

           <title>This is a book</title>

           <summary>This book is good.<p>This book has embedded HTML
inside the summary.<p>
</book>



Does this mean I need to come up with a dtd that lists summary contents
as CDATA?



Tia,



-nathan






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to