Examples

FriFinans
The Open Source financial/accounting application FriFinans - also maintained by Casalogic A/S - use PDML2 extensively for all reports. We thought PDML was a great tool and that it was a shame that the development had been abandoned. That's why we decided to fork the project into PDML2 and continue the development and documentation.


Other examples
More examples are coming soon ... you are welcome to contribute with your own examples.


Example 1 - Simple PDML2 document.

	
<pdml>
<header>
	<title>PRML2 example 1</title>
	<author>Casalogic A/S</title>
</header>
<body>
Hello world!
</body>
</pdml>
		

Example 2 - Simple multipage PDML2 document.

	
<pdml>
<body>
<page>
<footer>
<cell top="28cm" left="9cm">-- Page &pagenumber; of &pagecount; pages --</cell>
</footer>
Page 1
<page>
Page 2
</body>
</pdml>