Jason,
Thanks for your suggestion, although I'm not sure how to 'build the
<!DOCTYPE ...> myself' Could you illustrate with some (pseudo)code ?
TIA, Evert
> -----Original Message-----
> From: Jason E. Stewart [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 10, 2001 17:43 PM
> To: [EMAIL PROTECTED]
> Subject: Re: inlining a DTD
>
>
> "Evert Haasdijk" <[EMAIL PROTECTED]> writes:
>
> > Is there any way to inline the DTD for a DOM document so that, after
> > writing the document, it has an inline DTD?
>
> My solution is to start my parse with a bare bones document
> constructed in a memory buffer. Then I read my DTD in from a disk
> file, and build the <!DOCTYPE ...> my self and append it the document
> I started, and then start the parser on the inputsource from the
> membuf.
>
> jas.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]