[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Highlighting

Subject: Re: Highlighting
From: "Mark Williams" <mark@xxxxxxxxxxx>
Date: Wed, 12 May 2004 09:22:27 +0100
pdf highlighting
Hi Michael,

What we are doing is creating an xsl template which we are then generating
as pdf or html (could be either as the user requires) and rendering with
FOP.

I was just wondering if there was some xsl attribute that could be used that
would highlight a section of text.  I understand that the background-color
attribute of fo:inline is what I need, but it isn't implemented in FOP.

If you have any other ideas, I would be grateful.  I would say, however,
that PDF is our primary target.

Thanks

Mark Williams

----- Original Message ----- 
From: "Michael Kay" <mhk@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, May 11, 2004 6:07 PM
Subject: RE:  Highlighting


> >
> > 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.