I would like to test out the condition binding in docx4j
I found that some xpath function works but some does not, for example contains works but matches does not work:
/path/teststring contains abc
xpath="contains(/path/teststring,"abc")" returns true
xpath="string(/path/teststring)="abc"" does not return true
xpath="matches(/path/teststring,"abc")" fails
Please advise what is the best way to compare xpath value with string.