Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - RE: [xsl] counting the no of lines in the output html file. [Thread Next] RE: [xsl] counting the no of lines in the output html file.To: Date: 1/4/2005 3:57:00 PM Or maybe you need test="(count(preceding::line)+count(ancester::line)) mod 80 = 0 depending on the XML structure. Quoting Jarno.Elovirta@xxxxxxxxx: > 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 > > O SAPO ja esta livre de vmrus com a Panda Software, fique vocj tambim! Clique em: http://antivirus.sapo.pt | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
