How to determine end of the page or beginning of a page in XSL
Discuss How to determine end of the page or beginning of a page in XSL in the XML Programming forum on Dev Shed. How to determine end of the page or beginning of a page in XSL XML Programming forum discussing XML and related technologies, including XUL and XSL. XML is a self-describing file format, designed for maximum compatibility between applications.
Receive the tools necessary to be the rock star of your field. Our 12-month program teaches you the evolving world of multi-channel marketing as well as the complex issues and opportunities found in the industry.
ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month! Download and Activate to enter!
Web development can be a daunting task, even for specialists. There is a lot of information to absorb and a lot of technologies to learn in order to manage a superior website. When trying to learn the ropes, developers need a reliable source to introduce new ideas that can be easily implemented. When working on large projects, even web veterans may run into a technology or an aspect of a technology that they are unfamiliar with.
But the horizontal line shouldn't display if it is the last row of the page or first row of the page. How do we achieve this in XSL. I have been struggling to find the solution, but I couldn't.I appreciate your help in advance.
Posts: 10,756
Time spent in forums: 5 Months 11 h 44 m 21 sec
Reputation Power: 7951
I assume you have a loop somewhere? At the beginning of it, before showing each row, check if position()>1: if so, include a divider (be it dashes or an <hr> or whatever).
Posts: 46
Time spent in forums: 2 h 51 m 59 sec
Warnings Level: 10
Number of bans: 2
Reputation Power: 1
This followup toJeni Tennison's Beginning XSLThas been updated to accomodate the revised XSLT standard. Part one of this book introduces XML and XSLT at a comfortable pace, and gradually demonstrates techniques for generating HTML (plus other formats), from XML. In part two, Tennison applies theory to real-life XSLT capabilities-including generating graphics.