Luke,
The acirc entity is an 'a' with a ^ above it[1]. I suspect the binary image file is being read as text, and it happens to be the first 'bad' character the XML parser is seeing.
That said, I notice you've got the <fo:external-graphic..> element commented out. Is that intended?
[1]
<http://www.uspto.gov/web/offices/ac/ido/oeip/sgml/st32/redbook/pap- v15-2001-01-31/entities/acirc.html>
On Jan 11, 2005, at 8:45 AM, Luke Shannon wrote:
Hello;
I am trying to dynamically create the path to my image file.
I'm getting the error:
org.apache.fop.apps.FOPException: The entity "acirc" was referenced, but not
declared.
I am not sure what acirc is?
Here is the code(this is not the full path, i am trying to incrementally
building while outputting the results):
The template that will return the path:
<xsl:template name="image_display_and_upload"> <xsl:param name="IP" select="string($IP)"/> <xsl:param name="current" select="string(.)"/> <xsl:value-of select="concat($IP, $current)"/> </xsl:template>
The template outputting the FO:
<fo:table-row>
<!-- image cell -->
<fo:table-cell number-columns-spanned="2">
<fo:block>
<xsl:variable name="filePath">
<xsl:call-template name="image_display_and_upload"/>
</xsl:variable>
<xsl:value-of select="$filePath"/>
<!--<fo:external-graphic
src="url(file://{$IP}{./@PATH}{./@FNAME}/{./DATA/VERSION/ [EMAIL PROTECTED]
me]/@DIR150DPI})"/>-->
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
Any help would be greatly appreciated.
Thanks,
Luke
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Web Maestro Clay -- <[EMAIL PROTECTED]> - <http://homepage.mac.com/webmaestro/> My religion is simple. My religion is kindness. - HH The 14th Dalai Lama of Tibet
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]