|
Subject: RE: FAQ (was Re: how to put images into my web page like <img src ....) From: Thuy Do <thuy@xxxxxxxxxxxxxx> Date: Wed, 13 Oct 1999 09:59:16 +1000 |
this is my xml:
<MAINMENU>/aimsimages/webback.gif </MAINMENU>
<MAINMENULINK>/scripts/pbisa60.dll/aims/web/mainmenu?as_session_id=1704
</MAINMENULINK>
this is what i had try for my xsl:
<a>
<xsl:attribute name='HREF'><xsl:value-of
select='MAINMENULINK'/></xsl:attribute>
<img src="{@MAINMENU}" width='16' height='16' border='0'/>
MAINMENU </a>
and
<a>
<xsl:attribute name='HREF'><xsl:value-of
select='MAINMENULINK'/></xsl:attribute>
<img src="{@MAINMENU}" />
MAINMENU </a>
none of them give me what i want, the image MAINMENU doesnot seem to show
as is. Instead it shows up as a square with a dot in the middle , appear
to me that it could not get the image or something not right
However if i specify the path like this:
<a>
<xsl:attribute name='HREF'><xsl:value-of
select='MAINMENULINK'/></xsl:attribute>
<img src="/aimsimages/webback.gif" width='16' height='16' border='0'>
</img>
MAINMENU </a>
then it works ok
Could any one please know why? Thanks
Thuy
-----Original Message-----
From: Tangi Vass [SMTP:tangivass@xxxxxxxxxxxxxx]
Sent: Tuesday, October 12, 1999 6:50 PM
To: Mulberrytech's XSL-list; thuy@xxxxxxxxxxxxxx
Subject: FAQ (was Re: how to put images into my web page like <img src
....)
The trick is to enclosed the IMG's SRC value with accolades : <img
src="{@MAINMENU}"/>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: How to get an apostrophe into a, Kay Michael | Thread | Re: FAQ (was Re: how to put images , Nikita Ogievetsky |
| Re: FAQ (was Re: how to put images , Nikita Ogievetsky | Date | FO. lists as tables. Re: Q: XML+XSL, Paul Tchistopolskii |
| Month |