Re: Loading an image in XSL

Subject: Re: Loading an image in XSL
From: Marcus Carr <mrc@xxxxxxxxxxxxxx>
Date: Tue, 18 Jul 2000 09:17:05 +1000
"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@xxxxxxxxxxxxxx
___________________________________________________________________
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


Current Thread