apache fop - adding dam images into the pdf
Hello,
I'm using Apache FOP to convert page into pdf but i'm unable to add images from DAM into the pdf.
I'm using this tag in the fop xslt
<fo:external-graphic src="sling://content/dam/myproject/img/image.jpeg"/>
and have included the following namespaces into the xslt:
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:jcr="http://www.jcp.org/jcr/1.0"
xmlns:sling="http://sling.apache.org/jcr/sling/1.0"
xmlns:dam="http://www.day.com/dam/1.0"
But the image just isn't rendered. What am I doing wrong here?
Any help much appreciated. Thanks.