[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: problem with XPath count()
Of course empty(preceding-sibling::*) and not(preceding-sibling::*) test that the current <text> node does not have any preceding sibling elements. As I (mis-)?read the OP, the request was about preceding <text> sibling elements, in which case empty( preceding-sibling::text ) or not( preceding-sibling::text ) ________________________________ Indeed. Or, to be more literal and less XPath-idiomatic, empty(preceding-sibling::*) Thanks Mike! For this contribution and every other time youve rescued us from ourselves.
|
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
|