Hi,
I want to do something very simple:
- execute a query on a document
- execute a second query on the result
- get back the final result
By looking at the API and playing with Tamino, it seems that the only way to do that is to:
- execute the query
- get back the result as DOM
- put the result back
- execute the second query
- get the final result as DOM
Am I missing something?
I would like Tamino to keep the result of the first query internally and let me execute other queries on the result without having to go through DOM.
regards,
Arnaud
Hi Arnaud,
This is possible with XQuery.
Do you use XQuery? In this case you can just make a composition in your own query statement.
Regards
Houman Khorasani
University of Wisconsin Platteville
Yes, I am using XQuery.
1. it is true you can do it in XQuery but I would like to have to distinct queries executed in a row.
2. when I have tried chaining the two queries in XQuery, the intermediate results gets a new namespace and the second query returns empty.
regards,
Arnaud
I am not sure if this is possible.
I recommend to post this mesage in the XQuery section. They might know it better.
http://tamino.forums.softwareag.com/viewforum.php?f=3
Regards
Houman Khorasani
University of Wisconsin Platteville