Hi,
I'm trying to show that following two documents are similar:
Control:
<Products>
<Group code="A">
<Category code="12">
<AmountMale>65000.00</AmountMale>
<AmountFemale>0.00</AmountFemale>
</Category>
</Group>
<Group code="B">
<Category code="12">
<AmountMale>0.00</AmountMale>
<AmountFemale>65000.00</AmountFemale>
</Category>
<Category code="3">
<AmountMale>61000.00</AmountMale>
<AmountFemale>0.00</AmountFemale>
</Category>
</Group>
</Products>
Test:
<Products>
<Group code="B">
<Category code="3">
<AmountMale>61000.00</AmountMale>
<AmountFemale>0.00</AmountFemale>
</Category>
<Category code="12">
<AmountMale>0.00</AmountMale>
<AmountFemale>65000.00</AmountFemale>
</Category>
</Group>
<Group code="A">
<Category code="12">
<AmountMale>65000.00</AmountMale>
<AmountFemale>0.00</AmountFemale>
</Category>
</Group>
</Products>
The problem here is that I have repeating elements on different levels (Group
and Category). The order of Groups and Categories is not relevant. I've found
the MultiLevelElementNameAndTextQualifier which solves the problem for one
level. How can I solve the problem in general (repeating elements on n
different levels)? I was not able to customise the
MultiLevelElementNameAndTextQualifier class for my needs.
Thanks,
Yves
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Xmlunit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xmlunit-general