Forum Discussion
omatzura
17 years agoSuper Contributor
Hi Cormac,
you can use the regex support in xpath 2.0 for this; if you want the text of a certain element to match a certain regex, specify the following:
matches( //somelement/text(), '.*' )
and set the expected value to true or false (whichever you want)
The matches function available in soapUI is documented at
http://www.saxonica.com/documentation/f ... tches.html
Hope this helps!
regards,
/Ole
eviware.com
you can use the regex support in xpath 2.0 for this; if you want the text of a certain element to match a certain regex, specify the following:
matches( //somelement/text(), '.*' )
and set the expected value to true or false (whichever you want)
The matches function available in soapUI is documented at
http://www.saxonica.com/documentation/f ... tches.html
Hope this helps!
regards,
/Ole
eviware.com
Related Content
Recent Discussions
- 22 days ago