Xpath Needed


I have a soap response shown below:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
                  <faultstring>Error Error Error</faultstring>
                        <ProcessingFault xmlns="http:/abcd.com/Invoice/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                              <Message>Error Error Error</Message>

I need a xpath to get the value of the tag named <Message>. How can I achieve that?

Thanks & Regards
Who is Participating?
Geert BormansConnect With a Mentor Information ArchitectCommented:
//*[local-name() = 'Message']

or tell us what technology you are using.
There is a default namespace, so you would need a namespace manager one way or another if you don't want to deal with local names
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.