Reputation: 3472
I am trying to load an image into the header for my pdf document which is generated using fo.net.
For some reason I cannot get XSL to pick up the correct filepath, I have verified the image is present, code is:
<fo:static-content flow-name="xsl-region-before">
<fo:block padding-top="1cm" margin-left="1cm">
<fo:external-graphic src="url('C:\\Projects\\Reports\\frontbanner960_2.jpg')" />
</fo:block>
</fo:static-content>
Upvotes: 0
Views: 1182
Reputation: 50947
C:\\Projects\\Reports\\frontbanner960_2.jpg
is not a proper URL.
Try file:///C:/Projects/Reports/frontbanner960_2.jpg
instead.
Upvotes: 2