Hi;
What you need to do is:
<wr:out select=”/house/bedrooms” datasource=”house”/>
<wr:out select=”/person/name” datasource=”person”/>
code:
ProcessReport.processData(new Dom4jDataSource("house.xml"), "house");
ProcessReport.processData(new Dom4jDataSource("person.xml"), "person");
This level of indirection exists so that the xml file names can change and you only make a change in one place, not every tag.