users@jaxb.java.net

adding DTD declaration to an xml file

From: Guilhem Legal <legal.g_at_hotmail.fr>
Date: Wed, 4 Jun 2008 06:05:26 -0700 (PDT)

hi!

I am working on standardized web-service supporting many version of the same
service.
to stay compatible with older version i need to create an xml document with
a DTD declaration such as :

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE WMT_MS_Capabilities SYSTEM "pathToMyDTD\WMS_MS_Capabilities.dtd">
<WMT_MS_Capabilities version="1.1.1" updateSequence="0">

------
</WMT_MS_Capabilities>

is it possible to add this property when marshalling an object?
and if yes how?

Guilhem Legal

-- 
View this message in context: http://www.nabble.com/adding-DTD-declaration-to-an-xml-file-tp17646322p17646322.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.