xQuery to generate multiple xml outputsJonathan Robie jonathan.robie at redhat.com
Mon Feb 22 09:02:51 PST 2010
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!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format