[xsl] Copy excluding some children

Subject: [xsl] Copy excluding some children
From: Giacomo <giacgbj@xxxxxxx>
Date: Mon, 20 Oct 2008 21:37:22 +0200
Is there a way to copy an element excluding some children, at any depth,
using *only* an XPath 2.0 expression without using templates to exclude
such elements?

For example, given:

<A>
   <B>The pen is <C>not</C> on the table</B>
   <D>...</D>
</A>

I want to copy A without C and D obtaining:

<A>
   <B>The pen is on the table</B>
</A>


Thanks,
   Giacomo.		

Current Thread