Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] csetheader and namespace?

I have a route that gives me a message in xml with namespace
i want to extract data from the body with csetheader and xpath
in csetheader has a checkbox "add namespace" where i should type Prefix and URI 
In *Note the text is xpath Language, the Namespaces will be used automatically but i cant find an example on how to use it
i have an xml file wich start with
<entry xmlns=" http://www.w3.org/2005/Atom">
<category term="http://url/folder" label="Event-typ"/>
...
</entry>
I im trying to read "http://url/folder" and am using the xpath "/entry/category/@term" and it dosnt work with namespace
i dont know how to type in "Add namespace" Prefix and URI to make it work
If i remove the namespace
<entry>
<category term="http://url/folder" label="Event-typ"/>
...
</entry>
and try with the same xpath it will work.


0683p000009MDsv.png 0683p000009MCV6.png
/Paul
Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Found out the solution in prefix i typed "a" and in schema "http://www.w3.org/2005/Atom"
in the xpath i need to type "/a:entry/a:category/@term"
/Paul

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Found out the solution in prefix i typed "a" and in schema "http://www.w3.org/2005/Atom"
in the xpath i need to type "/a:entry/a:category/@term"
/Paul