Join wMUsers | Blog at wMUsers | Edit my wMUsers Profile | Site Map | Invite your peers | webMethods Jobs | For Employers

webMethods Ezine: Regular Expressions for Integration Server

wMUsers Discussion Forums » Integration Server & Trading Networks » Development Feedback » webMethods Ezine: Regular Expressions for Integration Server

Author Message
Dan Green

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, April 02, 2003 - 09:45 pm:   Print Post

Questions or comments about this webMethods Ezine article?

Click here to read the original text.
Mark Carlson
Moderator
Username: mcarlson


Post Number: 526
Registered: 03-2003



Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, October 11, 2004 - 05:34 pm:   Print Post

I learned recently that XQL also supports regular expressions.
//aspectRegistry/aspect[pointcut/name[regex("mdc")]]/aspectData/name/text()

Returns the aspect names of all aspects whose pointcut/name elements contains a name elements that start with "mdc".

You can also combine regex patterns for more complex queries:
//aspectRegistry/aspect[pointcut/name[regex("mdc.demo")]][pointcut/adviceType='before']/aspectData/serviceName


The second query returns only the serviceNames where the adviceType is "before" and the pointcut/name elements contain the string "mdc.demo".

Mark

 

 

Add Your Message Here
Post:
Username: wMUsers Members: Use your username/password to increase your "Total Posts" ranking and link your profile.

Non-members: Use your full name as a username.
Password:
Email:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:


Advertise at wMUsers

Check out our Frappr!




© All Rights Reserved, 2001-2005.

Script Execution Error

Your discus.conf file could not be opened.
Error:  Open discus.conf: No such file or directory
Script: dummy.cgi
OS:     linux
Perl:   5.008008
Descr:  No such file or directory
Discus: 4.0

Read documentation in the Support Center
Also try your Program Diagnostics