[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: how to put images into my web page like <img src ....
HI, pls can you be more specific and put also your xml code??? if the image should be passed at run time, try to use an xsl:param-variable, and set the variable with the setStylesheet(or similar) method of your xsl processor.....if i am understanding right your problem regards marco > -----Original Message----- > From: EXT Thuy Do [mailto:thuy@xxxxxxxxxxxxxx] > Sent: 12. October 1999 9:46 > To: Xsllist (E-mail) > 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
|
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
|