I'm sure there is a sensible explanation for this but I can't find it. When I change: <map:serializer name="html" mime-type="text/html" src=""/> to <map:serializer name="html" mime-type="text/html"
src=""> The resulting html output has the correct dtd declaration at the top of the file: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> Now when I try this with the xml serializer that doesn't happen e.g. <map:serializer mime-type="text/xml" name="xml"
src=""> I would like to see this: <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML
V4.2//EN" I noticed the same behaviour with the "svgxml" serializer which leads me to believe that this is a feature of the XMLSerializer. Is there a way to generate XML output with a DTD declaration in it? Bye Perry Molendijk |
Title: Blank