- 3,708,965 Users
- 2,241,167 Discussions
- 7,840,725 Comments
Forum Stats
Discussions
Categories
- 22 Industry Applications
- 3.2K Intelligent Advisor
- 4 Insurance
- 754 On-Premises Infrastructure
- 253 Analytics Software
- 22 Application Development Software
- 1.7K Cloud Platform
- 700.4K Database Software
- 17.4K Enterprise Manager
- 5 Hardware
- 110 Infrastructure Software
- 70 Integration
- 45 Security Software
Configure the XPath Expression in b2b

Hi,
Can anyone please help me out. I have a payload attached below.
In B2B console under XPATH of Document Definition I want to get the value of "Element-285" as Order, so I am putting the following values in B2B console, but the value is not getting fetched in b2b_instancemessage table of XX_SOAINFRA schema.
Values I am putting in B2B console under Document Definition are:
XPath Name1: 'Element-285'
XPath Expression1: //inputVariable/B2BM/Payload/Transaction-945/Segment-W06/Element-285/text()
I have tried with other possible variations too as follows, but no success:
1) /*[local-name()='inputVariable']/B2BM/Payload/Transaction-945/Segment-W06/*[local-name()='Element-285']
2) //Transaction-945/Segment-W06/Element-285/text()
3) Segment-W06/Element-285/text()
4) /*Transaction-945/Segment-W06/Element-285/text()
Payload is attached
Answers
Have you tried //Segment-W06/Element-285/text() ?
Got it resolved by the below expression. Thank you Jimhim.
//*[local-name()='Transaction-945']/*[local-name()='Segment-W06']/*[local-name()='Element-285']