Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within XML
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Liutauras Vilda
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Devaka Cooray
Paul Clapham
Saloon Keepers:
Scott Selikoff
Tim Holloway
Piet Souris
Mikalai Zaikin
Frits Walraven
Bartenders:
Stephan van Hulst
Carey Brown
Forum:
XML and Related Technologies
Formatting in XML
sulabh kapoor
Greenhorn
Posts: 16
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
Please help me solve this issue:
I am trying to create an XML from a
string
which I am passing from
java
class.
In the string, I am forwarding some hyperlinks and some data which I want to get displayed as BOLD or ITALIC but XML doesn’t retain that.
Thanks with Regards,
Sulabh
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
displayed as BOLD or ITALIC
Displayed in what client? HTML, MS
Word
DOC
, PDF.
RTF
?
Bill
sulabh kapoor
Greenhorn
Posts: 16
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
HTML
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Are you just trying to have a browser read an XML document and display it?
XML markup that is not HTML will confuse any browser with strange results.
Bill
(If so, I recommend you use FireFox with the Firebug plugin to see what the browser is trying to cope with.)
Sachin Sthalekar
Greenhorn
Posts: 2
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
try enclosing the xml formatted string in a <cdata> section
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Special character string display
anyone from mumbai
Transform and Validation using sax parser :
how to handle xml as strings?
is there a length restriction in getting value for xsl:value-of
Need Help Please!
More...