|
Subject: Re: [xsl] problem with XPath count() From: "Bauman, Syd s.bauman@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 1 Nov 2023 15:07:05 -0000 |
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.
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] problem with XPath count(, Piez, Wendell A. (Fe | Thread | [xsl] XSL-List Guidelines, B Tommie Usdin btusd |
| Re: [xsl] problem with XPath count(, Piez, Wendell A. (Fe | Date | [xsl] Converting XML to CSV - how t, ohaya ohaya@xxxxxxxx |
| Month |