Title: RE: [castor-dev] Add a DTD into the generated xml file

I write my own .xsd file to generate the classes, so i'll take a look to the Serializer.

Thank you very much.

-----Mensaje original-----
De: Arnaud Blandin [mailto:[EMAIL PROTECTED]]
Enviado el: martes, 08 de octubre de 2002 14:58
Para: [EMAIL PROTECTED]
Asunto: Re: [castor-dev] Add a DTD into the generated xml file


Hi Enrique,

If you are using the Source Generator to generate an object model it
means that the XML produced will verify the grammar define by an XML
Schema so you might want to add a xsi:schemaLocation attribute instead
specifying a DTD.
However if you really want to add a DTD declaration, you have to
instantiate your own Serializer, set the DTD declaration and pass it to
the Marshaller.

Hope this helps,

Arnaud

-----Original Message-----
From: Enrique Rodriguez [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 08, 2002 2:34 PM
To: [EMAIL PROTECTED]
Subject: [castor-dev] Add a DTD into the generated xml file

I think this is the last step in my work with castor SG + XML + JDO.
�
i need to add a <!DOCTYPE BLABLABLA SYSTEM
"http://www.miweb.com/midtd.dtd> to the generated xml file.
�
I don't find anything nor in th docs, nor in the web.
�
Any idea????
�
Regards, Enrique.
�
�

�

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev


Reply via email to