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

Bolding keywords

Subject: Bolding keywords
From: Luke Jones <ljones@xxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Jul 2006 14:32:12 -0500
xml bolding
Hi

I'm slowly getting a grasp on xsl.  I'm currently applying an xsl to an
xml to create a pdf through FOP.  I'm stuck on a formatting problem, and
I haven't been able to find an example that has helped.

Here is what I'm trying to do.  I have an xml document with a dialog
tag. Inside that tag is a transcript of what has been said.  So there
could easily be more then a page a text inside that tag.  What I'm
wanting to do is bold keywords that are reference in that tag.

For example, say the xml looked like this:

<?xml version="1.0 encoding="utf-8"?>
<!DOCTYPE transcription PUBLIC "Nebraska Unicameral// DTD Legislative
Documents XML" "transcription.dtd">
<transcription>
<media>
...
</media>
<timeframe>
...
</timeframe>
<covers>
<item>..</item>
</covers>
<speakers>
<speaker>
<ename>
...
</ename>
<dialog>
"This is where I want to bold key words"
</dialog>
</speaker>
</speakers>
</transcription>

How would the XSL look if I wanted to bold the word 'key'?

Thanks,
Lgj

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.