Location: PHPKode > projects > Lithron > lithron-1.0.2/examples/007-hyperlinks.xml.php
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
<lithron>
    <style>
        page.A4 {
            height: 297mm;
            width: 210mm
        }
        wrapper {
            display: block;
            margin-top: 2cm;
            margin-right: 3cm;
            margin-bottom: 2cm;
            margin-left: 2cm;
        }
        a {
            text-decoration: underline;
            font-weight: bold;
        }
    </style>

    <file name="<?php echo "lithron-".basename(__FILE__,"xml.php")."pdf" ?>">
        <page class="A4">
            <wrapper>
                <h1>Headlines, Paragraphs &amp; Lists</h1>
                <p>
                    Congue <a href="http://google.de">Da Google</a> magna duis. Duis elit in mazim nulla elit. Consequat liber sollemnes typi. <a href="http://blog.fefe.de">Da Fefefefe</a>
                Duis modo dolore augue claritas claritas.</p>
                <p>
                    <a href="mailto:hide@address.com">hide@address.com</a>.</p>
                <p>
                    <a href="abc Dynom: xyz 123 %%% http://google.de">A broken link</a>.</p>
                <p>
                    <a href="http://google.de XXX Test: xxx">A broken link</a>.</p>
                <p>
                    <a href="http://google.com/search?q=testquery&amp;y=2">With params</a>.</p>
            </wrapper>
        </page>
    </file>



</lithron>
Return current item: Lithron