Thank you very much!<br /><br /><br />(So first you build&nbsp; the JDOM Tree. Then transform the JDOM Tree into events so a ValidatorHandler can react on this events. <br />When there is no exception, you can write the JDOM Tree to a XML file.)<br /><br /><br /><br />But I was thinking: &nbsp;is it also possible to validate when building the JDOM Tree, so you don&#39;t have to make the whole tree when some element is already wrong in the first part?<br /><br /><br />regards,<br />Katja