K
Kragspire
I have some code that I would like to be able to print out a first
name on a new page of paper each time it runs. The problem I have is
when it reaches the end of the printing it produces a blank page. How
can I get rid of the blank page that prints out? Here is the source
code that I used to do this...
-------------------------------------------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<title>Navy Claim Record</title>
<body>
<xsl:for-each select="Claims/Claim">
<div style="page-break-after:always">
<b>Contract Name: </b> <xsl:value-of select="ContractName"/><br/>
</div>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
name on a new page of paper each time it runs. The problem I have is
when it reaches the end of the printing it produces a blank page. How
can I get rid of the blank page that prints out? Here is the source
code that I used to do this...
-------------------------------------------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<title>Navy Claim Record</title>
<body>
<xsl:for-each select="Claims/Claim">
<div style="page-break-after:always">
<b>Contract Name: </b> <xsl:value-of select="ContractName"/><br/>
</div>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>