Re: Using Count() conditionally ??
Hi .. I am trying to count the total number of 416's and
> 415's in the following xml ... Is there is anyway to > use predicates in count function to acheive this.
It depends on the context, but try starting with count(//text()[.='415' or .='416'])
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