xsl-list
[Top] [All Lists]

XPath for leaf nodes

2005-01-19 17:51:34
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 

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--