Subject: Re: [xsl] problem big files >1Mo From: "Joerg Heinicke" <joerg.heinicke@xxxxxx> Date: Tue, 26 Mar 2002 21:50:22 +0100 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] problem big files >1Mo, Philippe Pithon | Thread | [xsl] save method, stevenson |
Re: [xsl] order update, Joerg Heinicke | Date | [no subject], Jay Ron |
Month |