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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> + syntax (2)
-> + Problem using mySQL (2)
-> + accessing Javascript variable ... (2)
-> + problem when openning files (2)
-> + Free Form Text (2)
-> + Cant open the database (4)
-> + Problem using MS Access (4)
-> + element type must not contain ... (3)
-> + XML to .txt file (7)
-> + Modifying a XSL-FO report (5)
-> + Retrievning multiple values...... (2)
-> + does Stylus Enterprise work wi... (2)
-> + MSSQL to 837P conversion (4)
-> + Generating XML files accesing ... (6)
-> - How to bold text using XSL (6)
-> ->How to bold text using XS...
-> ->How to bold text using XS...
-> ->How to bold text using XS...
-> ->How to bold text using XS...
-> ->How to bold text using XS...
-> + Different heading based on pag... (3)
-> + Code folding (2)
-> + Bad param=value pair on comman... (2)
-> + Saving an XML file (2)
-> + stylus adding random non print... (2)
-- Previous [1081-1100] [1101-1120] [1121-1140] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
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.

   
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.