This is the mail archive of the xsl-list@mulberrytech.com mailing list .
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
robert@elastica.com wrote: > > Wouldn't it be easier to simply paginate the XML before it gets to the > translator? ie. throw windows of XML data at the translator and translate > for each page? > I've had good results from a two step process, with variable length items. Step 1 is mark up the printable elements by simply adding newPage (boolean), pageNumber and LineNumber attributes to the printable elements, using a recursive template with page and line parameters, which knows how to size the elements. Step 2 is to merge the data into a format stylesheet, which then becomes fairly simple - match a page template for-each element where newPage = true(), then for-each element with that pageNumber, apply-templates in layout mode to find a item template which prints and positions the element correctly. Hope this helps - Francis. -- Francis Norton. why not? XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |