I am reading the IBM book XML and Java, page 76. There he describes aprocess that involves reading the DTD into memory, and then walking the DTD,adding the elements in the appropriate place by making calls like æ¤ectorvec = dtd.getInsertableElements(node.getElement());?br />This seems very laborious. Did you figure out another way to do it?Here抯 a link:http://www.bookpool.com/.x/t7pxz8jfj4/sm/0201485435