Re: XML tags in image alt tags
by Andrej Kostresevic <temporalassassin(at)yahoo.com>
|
Date: |
Tue, 31 Jul 2001 18:31:17 -0700 (PDT) |
To: |
Chuck Evans <chuck.evans(at)click2learn.com>, "'HWG Languages'" <hwg-languages(at)hwg.org> |
In-Reply-To: |
asymetrix |
|
todo: View
Thread,
Original
|
|
Try this:
<xsl:element name="image">
<xsl:attribute name="alt">
<xsl:value-of select="us_english"/>
</xsl:attribute>
</xsl:element>
Andrej
--- Chuck Evans <chuck.evans(at)click2learn.com> wrote:
> Does anyone have a workaround for using xml tags within an image alt tag
> inside an XSL style sheet? When I try to put the tag in there, I get
> this
> error:
>
> "The character '<' cannot be used in an attribute value. Line 149,
> Position
> 116"
>
> and it shows this as the error location:
>
> <img ... alt="<xsl:value-of select="us_english"/>" />
> --------------^
>
> I tried using single quotes, within the xml tag and next for the
> attribute,
> but no luck.
>
> Any help is appreciated.
>
> Chuck Evans
> Web Everything Guy
> Click2learn
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA