View Full Version : Images
04-01-2003, 11:31 AM
I'm using an asp page to display the contents of an XML page combined with an XSL stylesheet.
How would you display an image in the XSL page so that it was displayed on the ASP page?
04-02-2003, 10:37 PM
By parsing it into an <img/> tag.
How much XSL do you already know ... are you having a specific problem with images, or you want to know how to write XSL and you're using the image as an example?
04-03-2003, 10:57 AM
this is the XSL code for including images - note it is an XSL'd version of the normal img src tag in html.
<xsl:attribute name="src"><xsl:value-of select="PICTURE"/></xsl:attribute>
the PICTURE is the name of the XML container where you have the address or name of the image eg:
04-03-2003, 10:59 AM
Thanks for your help.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.