|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: problem big files >1Mo
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() <
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








