how to count the number of the same character
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 18
- Joined: Thu Jan 21, 2016 10:28 am
how to count the number of the same character
Post by Nikky_zhang »
Hi ,
I am facing a problem without any solution. Can anyone help?
The problem is , I am trying to count the number of the same character appeared in a string.
For example,
<xsl:if test="contains(x1,x2)">
I want to express, if there are more than two X2 appeared in x2, then execute something. I don't know how.
anyone knows?
I am facing a problem without any solution. Can anyone help?
The problem is , I am trying to count the number of the same character appeared in a string.
For example,
<xsl:if test="contains(x1,x2)">
I want to express, if there are more than two X2 appeared in x2, then execute something. I don't know how.
anyone knows?
-
- Posts: 9418
- Joined: Fri Jul 09, 2004 5:18 pm
Re: how to count the number of the same character
Hi,
As the question is not directly related to Oxygen maybe you could consider using a specialized XSLT mailing list or writing on Stack Overflow.
Maybe this StackOverflow older post will help:
http://stackoverflow.com/questions/1458 ... ng-in-xslt
Regards,
Radu
As the question is not directly related to Oxygen maybe you could consider using a specialized XSLT mailing list or writing on Stack Overflow.
Maybe this StackOverflow older post will help:
http://stackoverflow.com/questions/1458 ... ng-in-xslt
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service