[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Referencing an attribute contains an entity

Subject: Re: Referencing an attribute contains an entity
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Sat, 18 Nov 2000 11:54:18 -0800
logo
Can you do a simple output of &logo; to text/html to see if you actually
have a value there?
--- if so,
Is this what you need?

<img src="&logo;"/>

It works in Xalan.





----- Original Message -----
From: "Dan Matthews" <dan@xxxxxxxxxxxxxxxxxxxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxx>
Sent: Friday, November 17, 2000 6:37 AM
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
but
> the parser (IE5) just complains. i have tried using &quot; &lt; &gt; etc
for
> encoding but i still cant get it to work...
>
> cheers
> dan
>
>
>  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.