[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Loading an image in XSL
"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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|