[oXygen-user] Large XML file

Lars Huttar
Tue Oct 7 10:55:27 CDT 2008


Peter,
I saw your question on the XSLT and Oxygen mailing lists...

On 10/7/2008 10:25 AM, Bradley, Peter wrote:
> Hi,
> 
> I am producing a very large (50MB) XML file via a transformation.  Once
> the file has been produced, it passes through a validation process
> (another transformation) - for business rules compliance of the original
> data - as a result of which we occasionally need to examine the xml file
> in an editor.

One question I have - do you need to *edit* the resulting XML file, or
just examine it? If you only need to *see* it, that would open up other
alternatives. E.g. opening the file in a browser. Currently Firefox is
slow on opening large XML files -- you have to wait till the whole file
is rendered with styles before you can see any of it -- but I have
modified the stylesheet it uses so that it only renders the first n
(e.g. 1000) elements. That in itself may not be what you want but my
point is that browsers do indent-and-display XML documents, and there
may be some browsers / configurations that are fast enough. I don't
remember how IE performs when rendering XML documents. Google Chrome
won't work -- it just displays the text content.

Lars


> When I use oXygen to view the file, it takes over 30 minutes to load.
> 
> The large file viewer is of no use because it does not format the input.
> Without formatting, the input is just a single long line of unformatted
> XML.
> 
> The contents of the oxygen.vmoptions file is:
> 
> -Xmx1450m
> -Dcom.oxygenxml.language=English
> 
> Oxygen is set to format and indent on load.
> 
> Is there any way that oXygen can be configured to load and display the
> data more quickly?
> 
> Cheers
> 
> 
> Peter
> 




More information about the oXygen-user mailing list