[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Selecting all descendants with no child nodes
> I'm using the XPath expression "//*[count(*)=0]" to locate > all "endpoint" nodes. > > Is there any other way to achieve this, an alternative syntax? You can always replace "count(X)=0" by "not(X)", and it'd probably more efficient. So in this case, "//*[not(*)]" Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|