XML->HTML->JLabel(urgent)

Hello All,

I have an xml file, and I'm reading data from it. I give this data directly as the text to JTextPanes and JLabels. If I am able to specify the HTML tags in the XML file it will be of great help to provide formatting(bold) and wrapping functions. But the problem I'm facing right now is that the HTML tags are being displayed in the JLabel & JTextPanes. I want to find a way out. Please help.

Thanks.

[442 byte] By [kukunoya] at [2007-9-26 2:17:19]
# 1
How about using XSLT to define the Styles for the XML data and use it to transform them and then give it into the JTextPane
bn_anand2 at 2007-6-29 9:16:52 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...