Subject: Re: [xsl] tokenizing and counting with xsl:analyze-string From: "Imsieke, Gerrit, le-tex gerrit.imsieke@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sat, 17 Oct 2020 08:13:10 -0000 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] tokenizing and counting w, Michael Kay mike@xxx | Thread | Re: [xsl] tokenizing and counting w, Mukul Gandhi gandhi. |
Re: [xsl] tokenizing and counting w, Michael Kay mike@xxx | Date | Re: [xsl] tokenizing and counting w, Mukul Gandhi gandhi. |
Month |