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

xQuery to generate multiple xml outputs

Jonathan Robie jonathan.robie at redhat.com
Mon Feb 22 09:02:51 PST 2010


  xQuery to generate multiple xml outputs
On 02/22/2010 08:39 AM, Julio de la Vega wrote:
> I need to create an xQuery that generates two different xml files. I 
> am reading an xml file and depending of the value of one specific node 
> (CATEGORY), I want to separate the information (CUSTOMERS) in multiple 
> xml files.
>
> I need to generates the different outputs processing only one xQuery, 
> I do not want to process several xQuerys because my input file is huge 
> and performance is important.
>

If your XQuery processor supports updates, and it also supports the 
fn:put() function, then you can use that.

If not ... well, XSLT does this nicely ...

Jonathan


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