[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

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
putting images in xml
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

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.