[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

Xquery function problem

Sebastian sebi-hinterwaelder at gmx.de
Thu Jan 25 21:30:19 PST 2007


  Xquery function problem
Hello,


actually it is true that the html page is already generated at first
when the query is executed, but then I have a form which includes a
GET request. At the time this form is submitted the query is executed
again (<form method="get" action="all.xq"> - name of my query is
all.xq)  Now the xquery function retrieves the right parameter
(let $list := request:get-parameter("Auswahl","")) So that is the point where
actually I think the right processing of the xquery function starts. And that is
my problem. I actually want to get a parameter for the amount of time
the xsl needs to generate the svg. So actually the xquery function is
only the iniciator for the process in the backround that I want to know
how long it takes.

here is the function I use:


declare function local:transform($list as xs:string,$diagram as xs:string) as xs:string
{
let $collection := xmldb:collection("xmldb:exist:///db", "guest", "guest"),
        $out := xmldb:create-collection($collection,"output3")

let $x := transform:transform(local:xmlquery($list),local:xslquery($diagram),())
let $st := xmldb:store($out , "Chart.svg" , $x , "xml" )
let$y := ("")

return
$y
};


I hope you can now understand what I mean and can help me. Otherwise
please tell me what is not understandable.

Thanks

Sebastian




-- 
Best regards,
 Sebastian                            mailto:http://x-query.com/mailman/listinfo/talk



Purchase Stylus Studio Online Today!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.