[xsl] Displaying images with IE 5.0 XSL

Subject: [xsl] Displaying images with IE 5.0 XSL
From: Mark Andrews <mra@xxxxxxxxxxxxx>
Date: Thu, 04 Jan 2001 00:36:26 +0000
How do I display images with XSL rendered XML in IE 5.0 (presumably with

the old msxsl 2.5 parser)

The XML is:-

<sitelogo src="logo.gif" alt="Website logo"/>

and the XSL I have tried is:-

<div>
        <target-element type="sitelogo"/>
        <IMG  src='=getAttribute("src")'
                    alt='=getAttribute("alt")' />
</div>

But this doesn't seem to work.
Apologies in advance to the sensitive guru types who will get irked if
there's an obvious oversight here. :)

--

- Mark Andrews

The web sucks nowadays. Give me Web.1996 :(



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread