RE: [xsl] Highlighting

Subject: RE: [xsl] Highlighting
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 11 May 2004 18:07:02 +0100
> 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

Current Thread