F
francesco_java
Hi all,
i need to compare two xml files using an XSLT. Let's suppose i've two
xml files like this:
XML 1:
<DirFile id="d001">
<File id="001" name="one">
<dim>20000</dim>
....
</File>
<DirFile id="d002">
<File id="003" name="one">
<dim>20000</dim>
....
</File>
</DirFile>
</DirFile>
XML 2:
<DirFile id="d001">
<File id="001" name="one">
<dim>20000</dim>
....
</File>
<File id="002" name="one">
<dim>20000</dim>
....
</File>
<DirFile id="d002">
<File id="001" name="one">
<dim>20000</dim>
....
</File>
</DirFile>
</DirFile>
I'd like to obtain something like that:
<DirFile id="d001">
<File id="001" name="one">
<dim>20000</dim>
....
</File>
<File id="002" name="one"/>
<DirFile id="d002">
<File id="001" name="one"/>
<File id="003" name="one">
<dim>20000</dim>
....
</File>
</DirFile>
</DirFile>
Pls Help!!!
Thx
Fr.
i need to compare two xml files using an XSLT. Let's suppose i've two
xml files like this:
XML 1:
<DirFile id="d001">
<File id="001" name="one">
<dim>20000</dim>
....
</File>
<DirFile id="d002">
<File id="003" name="one">
<dim>20000</dim>
....
</File>
</DirFile>
</DirFile>
XML 2:
<DirFile id="d001">
<File id="001" name="one">
<dim>20000</dim>
....
</File>
<File id="002" name="one">
<dim>20000</dim>
....
</File>
<DirFile id="d002">
<File id="001" name="one">
<dim>20000</dim>
....
</File>
</DirFile>
</DirFile>
I'd like to obtain something like that:
<DirFile id="d001">
<File id="001" name="one">
<dim>20000</dim>
....
</File>
<File id="002" name="one"/>
<DirFile id="d002">
<File id="001" name="one"/>
<File id="003" name="one">
<dim>20000</dim>
....
</File>
</DirFile>
</DirFile>
Pls Help!!!
Thx
Fr.