[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

how to convert it to HTML string

Posted on 2004-10-24
6
Medium Priority
?
182 Views
Last Modified: 2011-09-20
hi,

that's what is displayed on my page:

<b>Product Brief</b><br>Single-user 8-port with new OSCAR GUI and multi-language support!<br><br><b>Features</b> <br>&bull;&nbsp;&nbsp;Controls up to 128 computers from one console <br>&bull;&nbsp;&nbsp;Multi-Language Support Innovative locking cab

it seems that my <html> tag is not parsed by browser. who can tell me how to convert it to HTML format, rather than this ugly text string

cheers
viola
0
Comment
Question by:viola123
  • 3
  • 3
6 Comments
 
LVL 36

Expert Comment

by:Zyloch
ID: 12396479
Hi viola123,

how odd, is this output produced by php or another server-side language?

Regards,
Zyloch
0
 
LVL 6

Author Comment

by:viola123
ID: 12396512
nice to see your quick reply, zyloch

this product descript is stored in SQL server and i am trying to display it using xslt:
<tr><td><xsl:value-of select="pt_detdesc" /></td></tr>

the value of pt_detdesc in SQL server is:
<b>Product Brief</b><br>Single-user 8-port with new OSCAR GUI and multi-language support!<br><br><b>Features</b> <br>&bull;&nbsp;&nbsp;Controls up to 128 computers from one console <br>&bull;&nbsp;&nbsp;Multi-Language Support Innovative locking cab

as u know, i certainly does not want to display it with these ugly html tag. it is supposed to be shown in html format. i rember there should be a way to convert the text to html.but cannot recall it exactly...

cheers
viola
0
 
LVL 6

Author Comment

by:viola123
ID: 12396516
the dataset used in xslt is implemented using c#

viola
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
LVL 36

Accepted Solution

by:
Zyloch earned 200 total points
ID: 12396530
Ah, I see. Try this:

<xsl:value-of select="pt_detdesc" disable-output-escaping="yes" />

Regards...
0
 
LVL 6

Author Comment

by:viola123
ID: 12396551
hi, Zyloch:

that is absolutely nice hint!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! it works!!!!!!!!!

enjoy my points now

cheers
viola
0
 
LVL 36

Expert Comment

by:Zyloch
ID: 12396558
No prob :)

Regards...
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
There's never been a better time to become a computer scientist. Employment growth in the field is expected to reach 22% overall by 2020, and if you want to get in on the action, it’s a good idea to think about at least minoring in computer science …
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

608 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question