Subject: Re: [xsl] Displaying images with IE 5.0 XSL From: Mike Brown <mike@xxxxxxxx> Date: Wed, 3 Jan 2001 22:55:04 -0700 (MST) |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Displaying images with IE 5.0, Mark Andrews | Thread | Re: [xsl] Displaying images with IE, Mark Andrews |
Re: [xsl] Does XSL have arrays?, Mike Brown | Date | Re: [xsl] Name of current node's pa, Mike Brown |
Month |