CSS (oxy_)xpath: use of current()
Posted: Wed May 09, 2018 12:29 pm
Dear “colleagues”
At our university we are developing a medical dialect.
In the past we were using relatively complex CSS-Statements (for authoring) that made use of current().
This worked fine in another editor, that supported current() from XSLT/Xpath also in CSS.
Here is an example (automatic pseudo-numbering of comment paragraphes)
content: xpath("count(//ns:Comment[count(following-sibling::ns:Comment[attribute::Id = current()/@Id])> 0])+1")
Does anyone see a way to realize this with oxy_xpath? The matter is "current()"
Stefan
At our university we are developing a medical dialect.
In the past we were using relatively complex CSS-Statements (for authoring) that made use of current().
This worked fine in another editor, that supported current() from XSLT/Xpath also in CSS.
Here is an example (automatic pseudo-numbering of comment paragraphes)
content: xpath("count(//ns:Comment[count(following-sibling::ns:Comment[attribute::Id = current()/@Id])> 0])+1")
Does anyone see a way to realize this with oxy_xpath? The matter is "current()"
Stefan