Caution, this only works in British XSLT!
On 17.10.2020 09:52, Michael Kay mike(_at_)saxonica(_dot_)com wrote:
With xsl:analyse-string you would still need a variable, but it could be
a simpler variable: for example it might just contain a "1" for a match,
and a "0" for a non-match; at the end you then need to count the ones
and zeros which you can do with string-length(translate(...)).
Michael Kay
Saxonica
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--