cancel
Showing results for 
Search instead for 
Did you mean: 

Expression Editor

udo_martens
Active Contributor
0 Kudos

Hi Experts,

the Expression Editor (for example ccBPM / switch / Condition Editor / Expression Editor)does not work like i expect: if i have an message like

<rootElement xmlns:p1="myNamespace">
<myElement>123</myElement>
</rootElement>

i can click at <i>myElement</i> and the in the field "X-Path Expression" will be filled:

/p1:rootElement/myElement

Nevertheless this is not working!? If i put the path manually like

//myElement

it works.

Does anybody know, why the clicked path does not work?

Regards, Udo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Have you removed the multiline check. It's checked by default.

Regards

Vijaya

udo_martens
Active Contributor
0 Kudos

Hi Vijaja,

it s not checked. Nor by default.

Regards,

Udo

Former Member
0 Kudos

Hi Udo,

Take a look in you message type if the XML-Namespace ist the same than the Object Namespace.

Regards,

robin

udo_martens
Active Contributor
0 Kudos

Hi Robin,

yes, it is the same.

Thx, Udo

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

Make sure that the namespace is declared correctly in the line beyond the xpath expression line.

Which Sp level do you use?

Regards

Stefan

udo_martens
Active Contributor
0 Kudos

Hi Stefan,

the namespace is correct. It appears automaticly when you click on the field. We r using XI 7.0 SP 8. Did you ever had sucess with that editor by clicking? I knew that strange behavior for years but for me it was satiesfieing enough to use a manually entry (with a double slash). My current customer likes to force me onto defensive with that kind of questions

Regards,

Udo