Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
using xql/wql i want to find a document from a documentlist here is xml
I want to find all documents with lineNm starting with 33(say) Please provide some help
Hi,
The Key point is “//*[LineNm[regex(“33\d\d”)]]” :eek:
But if you want to look at a working example, you can load the attached webMethods package.
Any problems let me know.
Ram zzXMLQuery.zip (6.05 KB)
thanks that works. wanted to know, what is meant by regex and how else can it be useful any documentation/links would be helpful
regex stands for Regular Expression. Its a natural language and most of todays programing languages have an implementation of it. Google for Java Regular Expression and you will see tons of information.