XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Ralph GoodwinSubject: How to bold text using XSL
Author: Ralph Goodwin
Date: 06 Jun 2008 12:49 AM
I have some XSL that is used to read an XML file in a website and to pupulate a web form. Is their an XSL command that will bold the XML text that is read?
The XML has a tag named <FirstName> that represents a persons first name. So that is the text I need bolded using XSL.

example from xml file:
<FirstName>Mike Poppel</FirstName>
<Age>24</Age>
<Height>5'-9"</Height>

Postnext
Tony LavinioSubject: How to bold text using XSL
Author: Tony Lavinio
Date: 06 Jun 2008 04:16 PM
XSL is a transformation language.

If you are transforming to HTML, then you can make the text
bold by wrapping the text in <B></B>.

But XSL itself doesn't have a visual representation; it's a
programming language.

Postnext
Ralph GoodwinSubject: How to bold text using XSL
Author: Ralph Goodwin
Date: 09 Jun 2008 09:35 PM
Thank you for the response. Pardon me, my mistake. I am using XSLT, not XSL. So based upon this do you have a different answer to my post?
I am not getting anywhere with fixing this problem, so if you can help me out, I would appreciate it.

Postnext
Tony LavinioSubject: How to bold text using XSL
Author: Tony Lavinio
Date: 09 Jun 2008 11:38 PM
Sorry, same answer. XSLT doesn't do bold; only the
output format would do bold. Are you writing HTML
with your XSLT?

Postnext
Ralph GoodwinSubject: How to bold text using XSL
Author: Ralph Goodwin
Date: 10 Jun 2008 10:38 AM
I appreciate your help! thank you.
I am using XSLT to query an XML file. My programming language is C# with asp.net. I am assuming that once the XSLT queries the XML then everything is eventually rendered as HTML or XHTML.
Since XSL does not do bold. Do you have any ideas on how I might be ablt to bold the text; taking into consideration that I am using XSLT and XML?

Posttop
Tony LavinioSubject: How to bold text using XSL
Author: Tony Lavinio
Date: 10 Jun 2008 11:35 AM
If it is eventually rendered as HTML, just wrap the text
you want in bold with <B> </B>.

XSLT is the programming language. It's the output that
would be bold.

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.