tags:

views:

585

answers:

2

I've got some XML piece of code. I would like to use XSLT to transform it into HTML . The problem is that I would like to format the output text as bold and underline. But I don't know how to format text as bold and underline in XSLT.

Would you please help me? Please provide some example code for this. Thank you so much.

+2  A: 

If you're producing HTML, then you format using HTML:

<b>bold</b> <u>underline</u> <strong>strong</strong>

...or CSS:

<span style="font-weight:bold;text-decoration:underline;">
   bold underlined
</span>
Shog9
Ok, it works, thanks a lot
Nguyen Quoc Hung
A: 

Ok, it works. Thanks a lot

Nguyen Quoc Hung