• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Rendering HTML content of the xml file

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I have a xml file with the HTML content( as CDATA). When I transform this
xml file as a HTML file using XSLT, the HTML content of the xml file is
displayed as it is in the HTML output of the XSLT. But actually I want to
render this HTML content within the resulting HTML output of the XSLT.
Any ideas and suggestions are welcome!!
Regards,
Hari
 
Hari Ranch
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok no problem, Meanwhile I found the solution...
The solution is.. in xsl we have to set a property called "disable-output-escaping" to value "yes". ie like
<xsl:value-of disable-output-escaping="yes" select="TEXT_DESCRIPTION"/>
By this way, we can render the HTML content which is in the xml file as CDATA.
Hari
 
reply
    Bookmark Topic Watch Topic
  • New Topic