views:

94

answers:

0

I have the following HTML for conversion to PDF using wkhtmltopdf:

<html>
<head>
</head>
<body>
<object data="first.svg" width="100" height="100" type="image/svg+xml"></object>
<object data="second.svg" width="100" height="100" type="image/svg+xml"></object> 
<object data="third.svg" width="100" height="100" type="image/svg+xml"></object>
</body>
</html>

I will be using these SVG files more than once, in multiple locations, for example one will be at the top of each page.

How can I have the outputted PDF file reuse the already existant SVGs else where in the document, without making a brand new one in the PDF, thus increasing the filesize.