This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE:
- To: xsl-list at mulberrytech dot com
- Subject: RE:
- From: GarethS at tisi dot com
- Date: Tue, 28 Nov 2000 13:30:41 -0600
- Reply-To: xsl-list at mulberrytech dot com
img tags in an xsl is really not that different from a html page. You need
to remember to close the tag though. For example:
<img src="../com-images/transparent.gif" border = "0"/>
If you want to pull the src from xml, then you need to use <xsl:element> and
<xsl:attribute> tags as well, as follows:
<xsl:element name="IMG">
<xsl:attribute name="src"><xsl:value-of
select="filename"/></xsl:attribute>
<xsl:attribute name="border">0</xsl:attribute>
</xsl:element>
Gareth Suarez
gareths@tisi.com
-----Original Message-----
From: Monica Gupta [mailto:monica@oncr.com]
Sent: Tuesday, November 28, 2000 2:17 PM
To: XSL-List@mulberrytech.com
Subject:
Hi all,
I am new to XSL. I wanted to know how we can include <IMG> tags in our
stylesheet.
can anyone explain with a small example.
Thanks
Monica
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list