Re:

Subject: Re:
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 28 Nov 2000 19:38:43 GMT
> Check out XMLFun section on http://www.PerfectXML.com - you'll see there how
> image is displayed using <IMG> tag with XML+XSL.

Hardly.

As far as I can see that site just links to descriptions of the wildly
obsolete language in the original IE5 implementation.  It's hardly doing
newcomers a service to send them along that route.  Microsoft have quite
a nice implemntation of XSL available as part of their MSXML3 upgrade.

> -----Original Message-----
the guidelines for this list ask that you don't quote whole messages.

The answer to the question is that no element in the output is special
to xslt, so if you want to produce an image just use use it as a literal
result element, eg
<xsl:template match="some-element">
 <img src="@some-attribute"/>
</xsl:template>
which would convert <some-element some-attribute="x.gif"/> to
<img src="x.gif"> in the html output method.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp


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


Current Thread