_duration=on

How i can use _duration with query too long, i tried update a whole document
in XQuery:
update for $a in input()/ficha where $a[@identificador=1] do replace $a with


Juan
Jose
Perez
Soto
M
15-11-1979
Los Alarces s/n
Valdivia
10
Chile

but how use _duration=on here, exist some function ?

making the query to web
http://localhost/tamino/xml/Estudiantes1010?_XQUERY=update+for+$a+in+input()/ficha+where+$a[@identificador=1]+do+replace+$a+with+++Juan+Jose+Perez+Soto+M+15-11-1979+Los Alarces s/n+Valdivia+10+Chile++&_duration=on

the response is :

<?xml version="1.0" encoding="ISO-8859-1" ?>

and the update is not working, in the XQuery works but when i want know the time of response not work?

i use tamino 4.2.1.8 on windows 2000 afdvanced server

Hi,

you can change the order of the _xquery and the _duration command in the HTTP request. This means you should state first the _duration and then the _xquery command.

Best Regards,

Thorsten