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

Looking to use XQuery as a reporting language

Nikolas Everett nik9000 at gmail.com
Mon Oct 10 17:51:30 PDT 2005


inurl 000809.html
I've been looking into ways to do reports from one XML data set to another.
When I found XQuery just last Friday I thought that I had hit the jackpot! A
simple, functional language that both queries and outputs XML. All is going
well, but I am having some trouble with output formatting, and I wonder if
anyone could help me out.

It looks as though function calls can only return three things in XQuery:

1. Some data (xs:string, xs:integer, or whatever)
2. An XML subtree
3. A tuple of XML subtrees

My problem is that I have only found one way to return number 3: the FLWOR
clauses. I am looking for something slightly more general. I would like to
make a function return something more like:
<foo>Some Text</foo>
<bar>Some More Text</bar>

I would read the specs, but they are so huge that I honestly don't know
where to start.

--Nik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xquery.com/pipermail/talk/attachments/20051010/e9568aff/attachment.htm


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-2011 All Rights Reserved.