The <pd4ml:header> and <pd4ml:footer> JSP tags as well as inlinefileName and interpolateImages attributes of <pd4ml:transform> tag are available since v1.0.5


<%@ taglib uri="http://pd4ml.com/tlds/pd4ml/2.6" prefix="pd4ml" %><%@page
contentType="text/html; charset=ISO8859_1"%><pd4ml:transform
screenWidth="400"
pageFormat="A5"
pageOrientation="landscape"
pageInsets="15,15,15,15,points"
enableImageSplit="false"
inline="true"
fileName="footer.pdf"
interpolateImages="false">

<pd4ml:footer
1 titleTemplate="title: $[title]"
2 pageNumberTemplate="page $[page]"
titleAlignment="left"
pageNumberAlignment="right"
color="#008000"
3 initialPageNumber="1"
4 pagesToSkip="1"
fontSize="14"
5 areaHeight="18"/>

<html>
<head>
<title>pd4ml header/footer test</title>
<style type="text/css">
body {
color: #000000;
background-color: #FFFFFF;
font-family: Tahoma, "Sans-Serif";
font-size: 10pt;
}
</style>
</head>
<body>
<img src="images/logos.gif" width="125" height="74">
<p>
Hello, World!
<pd4ml:page.break/>
<table width="100%" style="background-color: #f4f4f4; color: #000000">
<tr>
<td>
Hello, New Page!
</td>
</tr>
</table>
</body>
</html>
</pd4ml:transform>

Comments:
1. Title template definition. A string that can optionally contain placeholders $[title] for a title value taken from HTML’s <title> tag, $[page] for a page counter value.
2. Page number template definition. A string with placeholder $[page] for a page counter value.
3. The attribute initializes internal page counter with the given value.
4. The attribute defines, that 1 page should not contain footer information.
5. Footer area height in points.

PD4ML also accepts syntax like ${var}, but it has special meaning in the most recent Java Servlet API versions. In order to avoid notation conflicts PD4ML additionally supports $[var] placeholders since v3.x.