This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Loading an image in XSL
- To: xsl-list at mulberrytech dot com
- Subject: Re: Loading an image in XSL
- From: Marcus Carr <mrc at allette dot com dot au>
- Date: Tue, 18 Jul 2000 09:17:05 +1000
- Organization: Allette Systems (Australia) Pty Ltd
- References: <0B71FBC08925D11197DB00805F157C720473D65A@tac-nt-exch1.russell.com>
- Reply-To: xsl-list at mulberrytech dot com
"Foster, Justin (IT_Architecture)" wrote:
> I would like to load an image like this:
>
> <xsl:if match="ROOT/PARENT/CHILD[@attr='1']>
> <img src="c:\windows\desktop\Stylesheet Files\bar-green3.gif"
It appears that you're missing the double quotes after the right square
bracket - try
<xsl:if match="ROOT/PARENT/CHILD[@attr='1']">
> but I get the error message:
>
> The character '<' cannot be used in an attribute value.
Because it believes the attribute to be open.
--
Regards,
Marcus Carr email: mrc@allette.com.au
___________________________________________________________________
Allette Systems (Australia) www: http://www.allette.com.au
___________________________________________________________________
"Everything should be made as simple as possible, but not simpler."
- Einstein
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list