xsl-list
[Top] [All Lists]

RE: Highlighting

2004-05-11 10:07:02

Can anyone point me in the right direction as to how I would add
highlighting (ie a background colour) to parts of text in an 
xsl template.


Are you generating HTML?

If you don't know what HTML you want to generate, then someone on this list
may help you, but it isn't the correct place to ask. If you know what HTML
you want to produce but don't know how to produce it, then you're in the
right place, but need to describe the target output.

My recommendation would be to generate HTML using "class" attributes to
identify the display styles you want, and then to define the display styles
in a CSS style sheet linked to the HTML document (or embedded in it if you
prefer).

Michael Kay



<Prev in Thread] Current Thread [Next in Thread>