Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
2 replies
Subscribers
5 subscribers
Views
1616 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Hi, I am trying to use xpathsnippet right now on a xml that looks som
moritzw
over 10 years ago
Hi,
I am trying to use xpathsnippet right now on a xml that looks something like this:
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<response xmlns="
http://something.de"
xmlns:xsi="
www.w3.org/.../XMLSchema-instance">
<status>
<rc>0</rc>
<message/>
</status>
</response>
For some reason my valid xpath statements like "/response/status/rc/text()" only returns empty results. I am assuming that I have to put in something for the prefix attribute of the xpathsnippet function, but I cannot figure out what.
TIA, Moritz...
OriginalPostID-99132
OriginalPostID-99132
Discussion posts and replies are publicly visible
Parents
0
moritzw
over 10 years ago
Adding substitute(pv!xml,"xmlns=","xml_ns=") to it did the trick!
Thanks!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
moritzw
over 10 years ago
Adding substitute(pv!xml,"xmlns=","xml_ns=") to it did the trick!
Thanks!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data