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.

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.