Sbaush wrote: > is possible to preserve the order building the XML tree with DOM? no, because the order isn't important in XML. if you want to invent your own file format, you shouldn't call it XML, and you shouldn't use XML tools. </F>