Subject:Deleate element except one of its children (UPDATED) Author:Hind Hakami Date:18 May 2006 03:08 PM Originally Posted: 16 May 2006 03:31 PM
Hello,
I'm new to xslt, and I need some help in correcting my xslt code so it can do the following:
If "UML:Package" element has "xmi.idref" attribute then delete its grandPa element block.
Otherwise: If "UML:Package" element doesn't has "xmi.idref" attribute then delete "UML:Package" element except the content of its of its chiled element "UML:Namespace.ownedElement".