Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to bold a word in XML element value?

Status
Not open for further replies.

chadau

Programmer
Nov 14, 2002
155
US
I want to bold "HO-2" in this element.
<Text>The HO-2 Classic coverage form provides protection against named perils, many of which are subject to certain limitations. </Text>

I am using xslt to format the XML. I get the Text element value by using the syntax below.

<xsl:value-of select="Text"/>

 
The question is: how do you know that 'HO-2' be bold, and not 'Classic coverage'? That info should be somewhere in your source-xml, right?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top