From: Clujean@aol.com
Date: Tue Jan 13 2004 - 09:42:22 PST
Dear XEP developers and users,
I need to add a logo in the top right corner of every page of my document. I have it ready as a JPG image in the current directory. While XEP had no problem generating the PDF before I added the image reference, now it gives me an error. This is the first time I'm using graphics with XSL/XEP/PDF and any suggestion is most welcome.
Thanks in advance,
Narcis
<fo:page-sequence master-reference="spec-page-master">
<fo:static-content flow-name="xsl-region-before" font-style="italic" font-size="10pt">
<!-- page header -->
<fo:block text-align="end">
<fo:external-image src="url('logo.jpg')" content-type="content-type: image/jpeg"/>
</fo:block>
<fo:block text-align="start">Document: <xsl:value-of select="MainDoc/name"/></fo:block>
<fo:block>
<fo:leader leader-pattern="space"/>
</fo:block>
</fo:static-content>
<!-- page footer -->
<!-- ... -->
ERROR: element 'fo:external-image' cannot be a child of 'fo:block'. Only block-level or inline-level elements are permited in this context.
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
This archive was generated by hypermail 2.1.5 : Tue Jan 13 2004 - 09:49:00 PST