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

RE: counting the no of lines in the output html file.

Subject: RE: counting the no of lines in the output html file.
From: <Jarno.Elovirta@xxxxxxxxx>
Date: Mon, 3 Jan 2005 09:55:29 +0200
RE:  counting the no of lines in the output html file.
Hi,

>       I need to include a header after every 80 lines
> of output in the transformed html page.  I am able to
> count the total no of lines. But how to identify that
> the number of line after which I need to include a
> header.

E.g. test="count(preceding::line) mod 80 = 0" or test="$i mod 80 = 0" when $i
is the line number being processed.

Cheers,

Jarno

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.