[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xsl can't get graphic to load from xml file

Subject: xsl can't get graphic to load from xml file
From: josh higgins <doopsterus@xxxxxxxxx>
Date: Thu, 7 Apr 2005 10:43:27 -0700 (PDT)
can t load xml file
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.