X-Query (not xquery) in xapplication

X-Application Version: 4.1.1
Tamino Version : 4.1.1
Platform : Win2k WebContainer : Tamocat 4.1.1JDK Version : 1.4.1

Is it possible to do a X-Query (not xquery) in xapplication?

We have a server extension in Tamino which is a Query Function. This function can only be invoked via an X-Query. I want to invoke the function in my xapplication JSP page and populate one of the elements of my document with the result, but I am unsure whether (or how) to perform the X-Query in the xapplication JSP page.

Elsabe Jacobs

Hi Elsabe,

you can still use X-Query insted of XQuery.

e.g. have a look on the following tag:

<xapp:directcommand collection="${xappCollection$}" type="xquery" document="browseList" arg="for $x in input()/Property return $x"/></pre><BR><BR>if you would like to use a similar query in X-Query then you need to change the <B>type</B> of the directcommand from <B>xquery</B> to <B>query</B>.<BR>     <pre class="ip-ubbcode-code-pre"><xapp:directcommand collection="${xappCollection$}" type="query" document="browseList" arg="/Property"/>

With the other tags also allowing quering it should work accordingly.


Thanks for the reply. It works great. I think this should be documented as part of the directcommand documentation. I did look there but it only mentions xquery.