[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Only copy nodes that have text at some point in the tree


Subject: RE: [xsl] Only copy nodes that have text at some point in the tree
From: "Chris Bayes" <chris@xxxxxxxxxxx>
Date: Fri, 28 Sep 2001 23:34:34 +0100

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



Current Thread