This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Only copy nodes that have text at some point in the tree
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Only copy nodes that have text at some point in the tree
- From: "Chris Bayes" <chris at bayes dot co dot uk>
- Date: Fri, 28 Sep 2001 23:34:34 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Matt,
Are you winding me up?
You said you wanted nodes that have a textual descendant. As you stated
you expected the results to look like <Product NodeID="B" ... <Product
NodeID="C" in the output.
It gives me
<Product NodeID="B" Action="A">
<Child>
<Grandchild>Steven</Grandchild>
</Child>
</Product>
<Product NodeID="C" Action="A">
<Child>
<Grandchild>Paul</Grandchild>
<Grandchild />
</Child>
</Product>
Now you say you want <Product NodeID='C' removed.
Come on make your mind up. Sheesh maybe I had too many down the pub.
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list