[xsl] XPath for leaf nodes

Subject: [xsl] XPath for leaf nodes
From: "David P. Nesbitt" <david_p_nesbitt@xxxxxxxxx>
Date: Wed, 19 Jan 2005 16:51:34 -0800 (PST)
I am trying to put together an XPath expression to
select all the leaf nodes (i.e. an element that does
not have any descendants) of an arbitrary XML document
(it may or may not have namespaces defined).

I imagine there is an easy way to do this, but I can't
figure it out.

Any ideas?

Regards,
Dave


		
__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 

Current Thread