RE: Referencing an attribute contains an entity

Subject: RE: Referencing an attribute contains an entity
From: "Mangano, Chris" <C.Mangano@xxxxxxxxxxx>
Date: Fri, 17 Nov 2000 08:28:40 -0800
Dan,

Try this:

<img><xsl:attribute name="src"><xsl:value-ofselect="whatever"/></xsl:attribute></img>

HTH,
Chris

-----Original Message-----
From: Dan Matthews [mailto:dan@xxxxxxxxxxxxxxxxxxxxxxxxx]
Sent: Friday, November 17, 2000 6:37 AM
To: XSL-List@xxxxxxxxxxxxxxxx
Subject: Referencing an attribute contains an entity


Hi.
I'm really stuck and am sure this is an easy one for those with the know-how
- 
i have tried trawling the list but cant solve it myself.

i have an entity named "logo" which refers to a gif file. it has the 
appropriate <!NOTATION> in the corresponding dtd. however, i just can't
manage 
to output the contents of the entity (via the attribute 'source' from my xml

element).

i am trying to write <img src=".... and then chuck my attribute value in butthe parser (IE5) just complains. i have tried using &quot; &lt; &gt; etc forencoding but i still cant get it to work...cheersdan XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread