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

FAQ (was Re: how to put images into my web page like <img sr

Subject: FAQ (was Re: how to put images into my web page like <img src ....)
From: "Tangi Vass" <tangivass@xxxxxxxxxxxxxx>
Date: Tue, 12 Oct 1999 10:50:16 +0200
img sr
This question has been answered many times in this mailing list (I'm sure
because I allready asked it here ;-).

Go to http://www.mulberrytech.com/xsl/xsl-list and look for mails entitled
"How to generate HTML with dynamic attibutes?" or "Simple question - links"
(especially David Carlisle's ones). The XSL-List web site has a useful
search form.

There is also a FAQ which answers such questions (this one is #2.25) at
http://freespace.virgin.net/ben.pawson.

A word to the XSL-List mainteners :
I think it would be convenient to add this link to every mail of the list to
help newbies and prevent them from asking such basic questions.

Tangi

The trick is to enclosed the IMG's SRC value with accolades : <img
src="{@MAINMENU}"/>

----- Original Message -----
From: Thuy Do <thuy@xxxxxxxxxxxxxx>
To: Xsllist (E-mail) <xsl-list@xxxxxxxxxxxxxxxx>
Sent: Tuesday, 12 October, 1999 08:46
Subject: how to put images into my web page like <img src ....


>
> I am trying to create a link back to the main menu and I like to represent
> the link by an image.  The full path and name for this image have been
> passed when i run my program, it means that this path will be different at
> every end users' computer , say it might be c:\icon\mainmenu.gif or
> c:\image\main.gif .
>
> I could create a link to the page I want but I can't put the image there.
>
>
> This is what i got
> <A>
> <xsl:attribute name='HREF'><xsl:value-of
> select='MAINMENULINK'/></xsl:attribute>
> -----------this is where i like to have my image to seat on
> MAINMENU
> </A>
>
> I have try, 'MAINMENU' is the name of the attribute
> <A>
> <xsl:attribute name='HREF'><xsl:value-of
> select='MAINMENULINK'/></xsl:attribute>
> <img src="@MAINMENU" width='16' height='16' border='0'> </img>
> MAINMENU
> </A>
>
> this doesnot seem to work.
>
> Could anyone help me with this, please?
>
> Thanks in advance.
> Thuy Do  thuy@xxxxxxxxxxxxxx
>
>
>  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

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.