Subject: Re: displaying images
From: "taifui" <taifui@xxxxxxxxxxx>
Date: Fri, 10 Dec 1999 16:19:55 -0600
|
i suppose what you need is this?
<IMG><XSL:ATTRIBUTE name="SRC"><XSL:value-of
select="node-name"/></XSL:ATTRIBUTE><XSL:ATTRIBUTE
name="some-other-attributes">some-values</XSL:ATTRIBUTE></IMG>
----- Original Message -----
From: Matt Lowe <ISJML@xxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxx>
Sent: Friday, December 10, 1999 3:10 PM
Subject: displaying images
I am new to XSL programming, and am trying to learn it as I build a new
application. We are planning to use XML/XSL to display database results in
a browser.
My problem:
I need to display an image based on the filename from the XML file. I
understand that the result tree simply needs to show the html needed to
display the file (that being <img src="picture.jpg">)
However the "picture.jpg" is what is coming in the XML file, and I can't
configure the XSL to transform it correctly. Can anyone help?
Thanks
matt
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|