Non ho capito bene cosa vorresti fare e non ho idea di come sia strutturato il tuo xml.
Puoi fare un esempio pratico?