Location: PHPKode > scripts > pdfTag > pdftag/xml/sample1.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<pdftag:document author="Roy Kaldung" creator="pdfTag/PHP" title="Sample #1" xmlns:pdftag="http://www.kaldung.de/pdftag">
	<page format="A4">
		<outline id="content" text="Sample 1, Overview"/>
		<showxy x="25" y="705" text="Page 1" font="Helvetica-Bold" size="15" encoding="winansi"/>
		<locallink llx="20" lly="700" urx="100" ury="720" page="2" dest="fitpage"/>
		<showxy x="25" y="675" text="Page 2" font="Helvetica-Bold" size="15" encoding="winansi"/>
		<locallink llx="20" lly="670" urx="100" ury="690" page="3" dest="fitpage"/>
	</page>
	<page format="A4" orientation="portrait" font="Courier" size="10.0" encoding="winansi">
		<outline id="page1" parent="content">Sample 1, Page 1</outline>
		<showxy x="50" y="750">This is a sample how to use showxy</showxy>
		<showxy x="50" y="725" color="1,0,0">This is a sample how to use showxy with common attribute (color)</showxy>
		<showxy x="50" y="700">and now we have the default color without any circumstances</showxy>

		<showxy x="50" y="675" text="Some graphic elements"/>
		<showxy x="50" y="630" text="a simple circle"/>
		<circle x="250" y="630" radius="50"/>
		<showxy x="50" y="570" text="a colored circle"/>
		<circle x="450" y="570" radius="50" color="0,0,1"/>
		<showxy x="50" y="510" text="a colored, filled circle"/>
		<circle x="250" y="510" radius="50" color="0,1,0" filled="filled"/>
		<showxy x="10" y="5" font="Helvetica" size="10" encoding="winansi">back to content</showxy>
		<locallink llx="5" lly="2" urx="100" ury="18" page="1" dest="fitpage"/>
	</page>
	<page format="A4" orientation="landscape" font="Courier" size="10" encoding="winansi">
		<showxy x="50" y="452" text="a weblink to the pdfTag homepage"/>
		<weblink llx="50" lly="450" urx="250" ury="465" url="http://www.kaldung.de/pdftag/"/>
		<outline id="page2" parent="content">Sample 1, Page 2</outline>
		<showxy x="10" y="5" font="Helvetica" size="10" encoding="winansi">back to content</showxy>
		<locallink llx="5" lly="2" urx="100" ury="18" page="1" dest="fitpage"/>
	</page>
</pdftag:document>
Return current item: pdfTag