Subject: RE: [xsl] use XSLT or XQuery in Saxon? From: Pieter Reint Siegers Kort <pieter.siegers@xxxxxxxxxxx> Date: Thu, 6 Jan 2005 12:05:39 -0600 |
Hi alan, > I have extremely large (over 300 MB) XML file and tens of thousands of small xml files generated after applying various XSLT on the one big XML file. I wonder how did you manage to run those XSLTs? Any performance problems? What tools/approach did you use? Another Q is that you didn't mention what your problem was exactly.... was it related with the process of creating all those little XML documents? Are they representing the big XML file? IMO, that big XML file should never have been created at first - the data should have been put in a database, it would have made querying afterwards that much easier. But well, that's too late now - so like Michael Kay suggests, if querying that big XML is your problem, you could use a SAX approach where memory will not be heavily used to process your queries. Another observation: don't put more than say 1000 files into one folder. Folders that have more files tend to getting difficult to handle. Cheers, <prs/> -----Original Message----- From: alan m [mailto:highmarkz@xxxxxxxxx] Sent: Miircoles, 05 de Enero de 2005 04:53 p.m. To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] use XSLT or XQuery in Saxon? I did a post of this in another forum but did not yet get a reply. I have extremely large (over 300 MB) XML file and tens of thousands of small xml files generated after applying various XSLT on the one big XML file. I am using Saxon for XSLT and will be using it also for XQuery. Is Xquery or XSLT is better solution for this problem? Query each text node in the big xml file and verify that this content is present in one of the results xml files. Based on this information generate a report that shows which content is present and in which file and in a separate section which content was not found in result xml files and also show this content parent element or other markup to indicate its position in the big xml file. All the small xml files are stored as flat files in various directories on Windows File system although most files are in one directory. The big XML file is fairly complex with multiple levels of nesting elemenents. Any comments or suggestions? Thank you __________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] use XSLT or XQuery in Sax, Michael Kay | Thread | RE: [xsl] use XSLT or XQuery in Sax, alan m |
Re: [xsl] Re: XML / XSL Editors, George Cristian Bina | Date | [xsl] Group various elements with e, M Glenties |
Month |