This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Displaying images with IE 5.0 XSL
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Displaying images with IE 5.0 XSL
- From: Mike Brown <mike at skew dot org>
- Date: Wed, 3 Jan 2001 22:55:04 -0700 (MST)
- Reply-To: xsl-list at lists dot mulberrytech dot com
Mark Andrews wrote:
> <sitelogo src="logo.gif" alt="Website logo"/>
> <target-element type="sitelogo"/>
> <IMG src='=getAttribute("src")'
> alt='=getAttribute("alt")' />
No idea what this target-element, getAttribute stuff is.
I don't think it even is MSXML!
You didn't mention what the context is.
Assuming your template is processing a node one level up
from the sitelogo element,
<img src="{sitelogo/@src}" alt="{sitelogo/@alt}"/>
If you're at the sitelogo element, simply
<img src="{@src}" alt="{@alt}"/>
- Mike
____________________________________________________________________
Mike J. Brown, software engineer at My XML/XSL resources:
webb.net in Denver, Colorado, USA http://skew.org/xml/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list