Try perldoc iwhome/bin/iwxml_validate.ipliwxml_validate.ipl -well seems to be what you need
Is there a way I can write a wrapper to validate this without modifying the odnodes.xml