sverre.medalen at broadpark.no wrote: > > Unfortunately, I do'nt have an existing document that conforms to the DTD.
This is quite uncommon. > Is it not possible to use the declarations in the DTD to select the right > child elements of the root to include to build a valid template? Ex. > include the child elements that are mandatory. No, there is no GUI to do this. > Can I limit element > selection to the childs of the root, or do I have to go deeper? You need to go as deep as needed to create a valid document template (by hand; using a text editor). You can validate your document template using command line tool (included in the distribution): dtdvalid -d mydtd.dtd myinstance.xml or just: dtdvalid myinstance.xml if myinstance.xml has the proper <!DOCTYPE>.

