[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XPath for leaf nodes
Hi, > 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. //*[not(*)] Cheers, Jarno
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|