[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] xsl display graphic from xml
Subject: [xsl] xsl display graphic from xml From: josh higgins <doopsterus@xxxxxxxxx> Date: Thu, 7 Apr 2005 10:29:16 -0700 (PDT) |
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!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] loading dom, cknell | Thread | Re: [xsl] xsl display graphic from , Jon Gorman |
[xsl] loading dom, Prasad Akella | Date | RE: [xsl] loading dom, cknell |
Month |