|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE:
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








