Raphael Mack wrote:

> Am Fre, 09 Feb 2001 schrieb Elena Litani:
> > Hi, Raphael
> > > how can I generate a DTD with xerces? I have a DOM of my Document and
> > > want to create a DTD for it.
> > This feature is not supported. Editing of DTDs and Schema is discussed
> > in DOM L3 WD, however, we don't plan to implement it any time soon.
>
> Does this mean, that I have to create the DTD by hand, and have to write it
> into the XML-file created by XMLSerializer by hand?

You definitely have to write the DTD by hand but you can incorporate it to
your xml file by creating an empty file with your dtd and importing the nodes
in it after creation.

Sebastien

Reply via email to