This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]