the <acronym> tag, time for a title?
| From: | Philip Olson | Date: | Tue, 27 Jul 2004 09:00:21 +0000 |
| Subject: | the <acronym> tag, time for a title? | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969362212@lists.php.net to get a copy of this message | ||
Hello!
We use <acronym> but it really has no use currently. As of right now our
setups do as follows:
XSL: Puts acronym inside <span class="acronym">
DSSSL: Puts acronym inside <ACRONYM CLASS="acronym">
I've been trying to get this working with XSL but am failing, and by
working I mean for example:
Replace: <acronym>HTML</acronym>
With: <acronym title="Hypertext Markup Language">HTML</acronym>
Seems like a simple concept I know. I first started messing around with
glossary tags (with glossentry.show.acronym) but gave up on that. Then, I
found this little gem of a resource:
http://www.dpawson.co.uk/xsl/sect2/replace.html#d7796e115
With a version of this I can get XSL to match the <acronym> tags but the
HTML output returns nothing instead of the actual acronym so essentially
I've implemented a template to remove all acronyms! I'm giving up for now
in the hope that someone with XSL knowledge can implement this in a
working fashion. Anyone? I don't think it's worth doing it in DSSSL.
Regards,
Philip