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

SAXON: out of memory

Subject: SAXON: out of memory
From: Zsolt Czinkos <czinkos@xxxxxxxxxxxxx>
Date: Thu, 29 Jul 1999 23:12:18 +0000
saxon out of memory
Hello,

I compiled the following stylesheet with SAXON, and when I tried to
apply it on a 2megs file it stoped with: out of memory.
Are there any solution for such a big file? 
I wrote a small Java program to do the same, but with Propagator (and
Wanderer) it said the same. I "solved" the problem with using
Distributor, but it would be better for me to write stylesheets instead
of java. (I am not a computer programmer. :-(( ) 

Thanks in advance,

czinkos

------

<?xml version="1.0"?>

<!-- This SAXON-stylesheet generates an XML file-structure
     for ShowUmilItem and ShowTOC -->


<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
xmlns:html="http://www.w3.org/TR/REC-html40" 
xmlns:saxon="java:com.icl.saxon" 
class="Generate" servlet="N">

<!-- +++++++++++++++++++++++++++++++++++++++++++++++ -->

<xsl:param-variable name="dir">UMIL</xsl:param-variable>
<xsl:variable name="fileseparator"
expr="system-property('file.separator')" />

<xsl:template match="/">
    <xsl:output file="{$dir}{$fileseparator}index.html" format="HTML">
        <html>
            <head>
                <title>STEP - XML + SAXON demo for UMIL</title>
            </head>
            <body bgcolor="#EAEAAD">
            <br /><br />
            <center>
                <a
href="/saxon/ShowUmilTOC?source=http:///umil/index.xml">
                    Nice page, isn't it? Click here to begin!</a>
            </center>
            </body>
        </html>
    </xsl:output>

    <xsl:output file="{$dir}{$fileseparator}index.xml" format="XML">
        <umil>
        <xsl:for-each select="//CIKK">
            <cikk ref="{@ID}">
                <cimszo>
                    <xsl:value-of select=".//CIMSZO"/>
                </cimszo>
            </cikk>
        </xsl:for-each>
        </umil>
    </xsl:output>
    
    <xsl:for-each select="//CIKK">
        <xsl:output file="{$dir}{$fileseparator}{@ID}" format="XML">
            <xsl:copy-of/>
        </xsl:output>
    </xsl:for-each>

</xsl:template>

</xsl:stylesheet>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.