Enric Jaen wrote:
> For example, having this:
> <AAA>
> <BBB/>
> <CCC/>
> <DDD/>
> </AAA>
> I'd like to return AAA with only BBB and CCC elements, like this:
> <AAA>
> <BBB/>
> <CCC/>
> </AAA>
XPath can select nodes, not modify them. So if you want to select
AAA, you can't select a modified AAA. But you can choose to select the
sequence (BBB, CCC) instead of (BBB, CCC, DDD).
--drkm
___________________________________________________________________________
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com