Query To Evaluate:
==================
<q:query
><q:elementConstructor
><q:tagName
><q:constant
>Test</q:constant
><q:constant
></q:constant
><q:elementConstructor
><q:tagName
><q:constant
>p</q:constant
><q:constant
>
The following lists all play titles by Shakespeare stored in Tamino:
</q:constant></q:tagName></q:elementConstructor
><q:constant
></q:constant
><q:flwr
><q:let
><q:letAssignment variable=“$x”
><q:pathExpr
>fromCollection(“theater”)/PLAY/TITLE</q:pathExpr></q:letAssignment></q:let
><q:return
><q:variable name=“$x”/></q:return></q:flwr
><q:constant
></q:constant></q:tagName></q:elementConstructor></q:query>
sending request to Tamino:
_xql(1,1)/PLAY/TITLE
__________________________________________________
Using IE http://localhost/tamino/esf/theater?_xql(1,1)=/PLAY/TITLE
I get:
<?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/PLAY/TITLE</xql:query>
- <ino:message ino:returnvalue=“0”>
ino:messagelineXQL Request processing</ino:messageline>
</ino:message>
- xql:result
The Tragedy of Antony and Cleopatra
</xql:result>
- <ino:cursor ino:count=“37”>
<ino:first ino:href=“?_XQL(1,1)=/PLAY/TITLE” />
<ino:next ino:href=“?_XQL(2,1)=/PLAY/TITLE” />
<ino:last ino:href=“?_XQL(37,1)=/PLAY/TITLE” />
</ino:cursor>
- <ino:message ino:returnvalue=“0”>
ino:messagelineXQL Request processed</ino:messageline>
</ino:message>
</ino:response>
[This message was edited by walter fierz on 10 Jul 2001 at 21:40.]
[This message was edited by walter fierz on 10 Jul 2001 at 21:45.]
#webMethods#API-Management#Tamino