reading HTML in XLS

Last post 07-22-2005 8:11 AM by tomasr. 1 replies.

Sort Posts:

  • reading HTML in XLS

    07-21-2005, 11:27 PM
    • Member
      120 point Member
    • benpetro
    • Member since 11-23-2004, 12:53 AM
    • Posts 24
    I'm reading a list of records from a database and some include HTML as follows:
    Name: Ben
    Content: <p>Ben is having trouble.</p>

    When I get a DataSet of this and Write it to XML, it is as follows:
    <Name>Ben</Name>
    <Content>
      &lt;p&gt;Ben is having troubple&lt;/p&gt;
    </Content>

    And so when I transform it with xsl onto the HTML page, it's displayed as follows:
    Ben
    <p>Ben is having trouble</p>

    Obviously I want the HTML to display as HTML so it looks like this:

    Ben

    Ben is having trouble.

    How can I do this??? Thanks for your help!
  • Re: reading HTML in XLS

    07-22-2005, 8:11 AM
    • Contributor
      4,280 point Contributor
    • tomasr
    • Member since 04-28-2003, 7:18 AM
    • Colombia
    • Posts 852
    Have you tried using disable-output-escaping="yes" (see the spec)?
    Tomas Restrepo [MVP]
    tomasr@mvps.org
Page 1 of 1 (2 items)