xsl-list
[Top] [All Lists]

xsl can't get graphic to load from xml file

2005-04-07 10:43:27
I am trying to get a graphic who's path is stored in
my xml file.  I can hard code the graphic path in my
xsl file and this bit of code works but hard coding is
notever that way to go. Can someone give me a
statement that will display the graphic that is not a
hardcoded url? I want to get the string returned from
the template logo and use it for the url.  Ideas? 
This is what I have.

<xsl:template name="logo">
        <xsl:value-of select="invoice/images/logo"/>
</xsl:template>

<xsl:template name="getLogo">
        <fo:external-graphic src="url( D:\simple\logo.jpg)"/>
</xsl:template>


Thanks!



                
__________________________________ 
Do you Yahoo!? 
Yahoo! Personals - Better first dates. More second dates. 
http://personals.yahoo.com


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--