Is it possible to return more than one kind of nodes by using the X-Query? For example, returning the names of items along with their location.
You should post a query like this:
http://HOST_name/tamino/DB_name/COLL_name?_xql=/DOC/Name | /DOC/location.
where you use the pipe sign to concatenate the paths to the nodes.
Regards,
Uli
You should post a query like this:
http://HOST_name/tamino/DB_name/COLL_name?_xql=/DOC/Name | /DOC/location.
–
It does NOT work…
Dariusz Baumann
So, how does TAMINO react? What is the result of the query?
Regards,
Uli
in IE6 I got:
–
<?xml version="1.0" encoding="iso-8859-1" ?>
- <ino:response xmlns:ino=“http://namespaces.softwareag.com/tamino/response2” xmlns:xql=“XQL FAQ (XML Query Language - Frequently Asked Questions)”>
xql:query/wyciag/location</xql:query>
- <ino:message ino:returnvalue=“0”>
ino:messagelineXQL Request processed, no object returned</ino:messageline>
</ino:message>
</ino:response>
–
http://HOST_name/tamino/DB_name/COLL_name?_xql=DOC - it works!
http://HOST_name/tamino/DB_name/COLL_name?_xql=/DOC/location - it does NOT work.
How should I fix it?
Thanks a lot!
Dariusz Baumann
Hello,
maybe there is a misunderstanding:
I used the word “location” as a sample name for a subnode (under the sample root node “DOC”). Therefore “location” is not a reserved word in Tamino for retrieving any meta information.
Regards,
Uli