[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE:

Subject: RE:
From: GarethS@xxxxxxxx
Date: Tue, 28 Nov 2000 13:30:41 -0600
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


Current Thread
  • RE:
    • GarethS - Tue, 28 Nov 2000 13:30:41 -0600 <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.