Subject: RE: [xsl] <xsl:output indent="yes"/> From: "Bradley, Peter" <pbradley@xxxxxxxxxx> Date: Tue, 7 Oct 2008 09:28:22 +0100 |
Hi again, George, I did as you suggested, but oXygen still could not load the file in any practical way. In fact I killed the process after 32 minutes. Nothing had been loaded and the UI was totally unresponsive for the whole time. Should I start a thread on oxygen users? Feel free to contact me privately if you want to pursue the matter: pbradley/at/uwic/dot/ac/dot/uk Cheers Peter -----Original Message----- From: George Cristian Bina [mailto:george@xxxxxxxxxxxxx] Sent: 06 October 2008 23:16 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Cc: Phillips, Glenn R. Subject: Re: [xsl] <xsl:output indent="yes"/> Hi Peter, You mentioned in a previous message that you get one line if you open the file in the large file viewer. This type of files causes problems in the editor because there are some processings that need to be performed at line level and if you have very big lines those can take a lot of time. What we recommend is to turn on the formatting and indenting of the document on open, that is Options->Preferences -- Editor / Format -- Format and indent the document on open. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Bradley, Peter wrote: >> care to share how much memory that is? > > Yes. Sorry. I wasn't meaning to be secretive. We set the > oxygen.vmoptions file as follows: > > -Xmx1450m > -Dcom.oxygenxml.language=English > > Setting it to 1500 crashed oXygen on startup. > > If there's another (better) way of setting the memory allocation, we'd > be glad to hear of it. This was the only one we found. > >> So you are saying opening the file takes ages, followed by clicking >> "indent" taking even longer or crashing oXygen ? If so, you should >> raise it on the oXygen list. > > Yes. I may well do that. > >> In the mean time, just run it through an identity transform using >> Saxon from the command line - a simple stylesheet containing: >> >> <xsl:ouput indent="yes"/> >> <xsl:copy-of select="."/> >> >> ...is enough. > > Thanks. That's a good idea. > > Cheers > > > > Peter > > > -----Original Message----- > From: Andrew Welch [mailto:andrew.j.welch@xxxxxxxxx] > Sent: 06 October 2008 12:53 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: [xsl] <xsl:output indent="yes"/> > > 2008/10/6 Bradley, Peter <pbradley@xxxxxxxxxx>: >> Thanks, Andrew, but we've given oXygen the maximum amount of memory it >> will allow us to allocate (in its config file). It still takes an >> enormous length of time to load the file. > > care to share how much memory that is? > >> The large file viewer doesn't help because it simply retrieves one, >> single, unformatted long line. > > So you are saying opening the file takes ages, followed by clicking > "indent" taking even longer or crashing oXygen ? If so, you should > raise it on the oXygen list. > > In the mean time, just run it through an identity transform using > Saxon from the command line - a simple stylesheet containing: > > <xsl:ouput indent="yes"/> > <xsl:copy-of select="."/> > > ...is enough.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] <xsl:output indent="yes"/, Bradley, Peter | Thread | Re: [xsl] <xsl:output indent="yes"/, George Cristian Bina |
Re: [xsl] xsl:copy and disable-outp, Michael Ludwig | Date | [xsl] Read directory and its conten, J. S. Rawat |
Month |