|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: FAQ (was Re: how to put images into my web page like <im
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
|
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








