Works like a charm, thanks Deborah.
From:
dita-users@yahoogroups.com [mailto:dita-users@yahoogroups.com] On Behalf Of Deborah
Pickett
Sent: Monday, December 01, 2008 7:09 PM
To: dita-users@yahoogroups.com
Subject: RE: [dita-users] Re: Note Image Alt Text (508 compliance)
On Tue, December 2, 2008 08:35, Patrick Quinlan
wrote:
> <xsl:otherwise>Note</xsl:otherwise>
> It would be cleaner to me if plain old notes used type=note. As it is,
> images that don't have alternate text specified elsewhere get the
"Note"
> text.
Try:
<xsl:when test="self::*[contains(@class, ' topic/note ')]
and (not(@type) or @type='note')">Note</xsl:when>