cancel
Showing results for 
Search instead for 
Did you mean: 

Using Xpath in Interface Determination

Former Member
0 Kudos

Hello Experts,

In Interface Determination i am using Xpath functionality and based on the input of one particular field i have to call a particluar interface of recevier.

But the problem is that field may contains some trailing spaces because of which Xpath is not working and message is failing.

I an thinking of using contains() or substring () functions in Xpath...

Please suggest on this...How to use xpath functions.

Thanks,

Vishal.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Vishal,

Try using Pattern (~) in your conditional interface determination.

Eg: your condition is : 'ABC'(field name) ~ "XYZ"(value)

Regards,

Supriya.

former_member200962
Active Contributor
0 Kudos

Check my reply here:

You dont need to use XSLT functions for this!

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Vishal,

I dont think its possible in Interface Determination using those functions,betetr to use enhanced Receiver determination.

it will definelty work it out.

Regards,

raj

former_member200962
Active Contributor
0 Kudos
But the problem is that field may contains some trailing spaces because of which Xpath is not working and message is failing.

Use the COntains Pattern option (middle operand) in the Condition Editor.

Then even if the spaces come or not you need not worry about it.

Regards,

Abhishek.