> Am I missing something obvious, or is JDOM not designed to reformat to a DTD > on output? I've never heard of anything that reformats to a DTD on output. A DTD defines the data, not the output format. I've never heard of anything that attempts to reorder elements based on a DTD. Seems very non-deterministic. -jh-