cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: remove dtd from xml?
Date Thu, 30 Aug 2007 22:35:21 GMT
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"?>).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message