From: Stefan B. <bo...@ap...> - 2008-06-16 11:48:48
|
On Tue, 10 Jun 2008, Yves Langisch <yv...@la...> wrote: > 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)? This is quite a bit harder than what MultiLevelElementNameAndTextQualifier set out to do I haven't tried it but maybe RecursiveElementNameAndTextQualifier from XMLUnit 1.2 works out of the box (though I doubt it). In any case it might give you a better start for implementing an ElementQualifier yourself. Stefan |