but what if the declaration already exists and i hv to take it out?

-Ed.



On 8/30/07, Joerg Heinicke <[EMAIL PROTECTED]> wrote:
>
> On 30.08.2007 14:23 Uhr, Edward S wrote:
>
> > whats the easiest way to remove a doctype declaration from a XML file?
>
> When serializing the XML? You have to add it explicitely by specifying
> doctype-system and doctype-public. So by not specifying them you won't
> get the DTD added.
>
> > <omit-xml-declaration>true</omit-xml-declaration>
>
> This is only about the XML declaration (<?xml version="1.0"?>).
>
> Joerg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to