Subject: RE: From: GarethS@xxxxxxxx Date: Tue, 28 Nov 2000 13:30:41 -0600 |
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@xxxxxxxx -----Original Message----- From: Monica Gupta [mailto:monica@xxxxxxxx] Sent: Tuesday, November 28, 2000 2:17 PM To: XSL-List@xxxxxxxxxxxxxxxx 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Q.) xsl (if no param, set to 'x, David Carlisle | Thread | Re:, David Carlisle |
Re: Alternating table row colors wi, David Carlisle | Date | Re: Alternating table row colors wi, Steve Muench |
Month |