cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver determination: xpath with regex?

stefan_bosshard2
Explorer
0 Kudos

Hi all,

I wonder if it is possible to use a regular expression within xpath of a receiver determination condition (SAP PI 7.30)?

For example:

/p1:pass_event/p1:eventtyp[re:test(.,'1|2|5|9','i')]

Until now I was not able to run it successfully......

Any idea?

Thanks and regards

Stefan

Accepted Solutions (1)

Accepted Solutions (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello Stefan,

Regex would not be supported until XPATH 2.0, see the discussion from the idea place

https://ideaplace.brightidea.com/ct/ct_a_view_idea.bix?idea_id={71A5D0D2-3D84-4903-8C0F-F7C92776B8C1...

At PI 7.3, it looks like only XSLT 1.1 and XPATH 1.0 are supported.

Hope this helps,

Mark

Answers (0)