[resolved] csetheader and namespace?

Five Stars

[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.



/Paul

Accepted Solutions
Five Stars

Re: [resolved] csetheader and namespace?

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

All Replies
Five Stars

Re: [resolved] csetheader and namespace?

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