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

Re: problem big files >1Mo

Subject: Re: problem big files >1Mo
From: "Joerg Heinicke" <joerg.heinicke@xxxxxx>
Date: Tue, 26 Mar 2002 21:50:22 +0100
fop big files
XML

<root>
    <row/>
    <row/>
    <row/>
    ...
</root>

XSL

<xsl:template match="root">
    <xsl:apply-templates select="row[position() mod 20 = 1]"
mode="first-on-page"/>
</xsl:template>

<xsl:template match="row" mode="first-on-page">
    <!-- anything at the beginning of a page -->
    <xsl:apply-templates select=" . | following-sibling::row[position() &lt;
20]"/>
    <!-- anything at the end of a page -->
</xsl:template>

<xsl:template match="row">
    <!-- anything for every row -->
</xsl:template>

Regards,

Joerg

> Hello!
> I read e-mails on the problems of crash and slowness on big files > 1Mo
> And apparently there are not too many solutions
> Maybe being resolved in the next version ?
> At present I have that a "page - sequence" for all the document.
> According to the users of FOP, it's necessary of some "fo:page-sequence"
to
> reduce the slowness.
> How to insert "page-sequence" everything 20 rows in xsl?
> (Without inserting syntaxe <page> in my xml)
> Are there other solutions?
> My files xml are structured as follows:
> <row num="1">
>   <CODLT>0000045393</CODLT>
>   <DATINT>1996-01-02 00:00:00.0</DATINT>
>   <CODCLI>99001</CODCLI>
>   <CODPROD>SI</CODPROD>
>   <CODDOSS>1</CODDOSS>
>   <DUREE_HHCC>8</DUREE_HHCC>
>   <INTERLOC />
>   </row>
> <row num="2">
>   <CODLT>0000045394</CODLT>
>   <DATINT>1996-01-03 00:00:00.0</DATINT>
>   <CODCLI>99001</CODCLI>
>   <CODPROD>SI</CODPROD>
>   <CODDOSS>1</CODDOSS>
>   <DUREE_HHCC>8</DUREE_HHCC>
>   <INTERLOC />
> </row>


 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.