It is intentional. The variable in the url parameter are not visible from
the document I am running this in. I need to calculate the path to the image
in another lever and pass it back to this function. Once I can see that I
have the whole path outputting correctly I can uncomment my graphics tag,
drop in the variable containing the path and finally see this working the
way it should. I may throw a little party in my cube to celebrate.  :-)

Thanks for the explanation of arirc. What still confuses me is I am not
doing anything with the image file yet. So far I'm trying to concatenate the
IP and along with the name of the current node into a variable and than
write this into the document. Where is it getting the arirc I wonder?

Thanks,

Luke


----- Original Message ----- 
From: "The Web Maestro" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 11, 2005 11:56 AM
Subject: Re: Image Output issues


> 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]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to