[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: <xsl:output indent="yes"/>

Subject: RE: <xsl:output indent="yes"/>
From: "Bradley, Peter" <pbradley@xxxxxxxxxx>
Date: Mon, 6 Oct 2008 13:12:08 +0100
RE:  <xsl:output indent="yes"/>
>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: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.


--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

Current Thread

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.