|
Posted by philiptdotcom on 07/20/06 02:36
Hi, folks! I'm a newbie to the group, and to CSS.
Can one create a CSS tag--e.g. <definition/>--that can render this:
<definition>affray</definition>
....as this:
<b>affray</b> [ <a
href="http://en.wiktionary.org/wiki/affray">Wiktionary</a> ]
[ <a
href="http://www.google.com/search?q=define%3Aaffray">Google define:</a> ]
Note that the text surrounded by the tag--"affray"--is repeated three
times within the proposed output, surrounded by other tags and/or
literals. In essence, converting:
A$
....to:
'<b>' + A$ + '</b> [ <a href="http://en.wiktionary.org/wiki/' + A$
+ '">Wiktionary</a> ] [ <a
href="http://www.google.com/search?q=define%3A' + A$ +
'">Google define:</a> ]'
Certainly, it can be done using XML transformations; but can it be done
just using CSS? (If so, how?)
Thanks!!
[Back to original message]
|