Link to home
Start Free TrialLog in
Avatar of blindbull
blindbull

asked on

How to render HTML tags from XML in an XSLT transformation?

I have a small XSLT file that has an output method set as follows:

      <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>

The problem that I have is that the XSLT file is transformed against XML from a database. This XML contains html tags such as <strong and <b and the tags are displayed in the output of the page. What I want is for the result of the transform to result in the HTML tags being applied in the output.

For example, The <u>knees</u> are <em>good</em> for walking should be displayed in the output with the knees underlined and the good bold but I get only the text with the tags as text.

The XSLT is transformed via an ASP.NET XML control.

Thanks for any help given I am really stuck.
ASKER CERTIFIED SOLUTION
Avatar of Gertone (Geert Bormans)
Gertone (Geert Bormans)
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial