[thelist] XML / XSLT outputting HTML entities

Andrew Martin andrewdmartin at gmail.com
Sat Apr 23 17:06:23 CDT 2005


I've got an xml file with HTML tags in the elements; something like this:
<entry>
<body>this is part of an xml file<br /><br />etc</body>
</entry>

When it's rendered, it just shows up all on one line and strips the
HTML.  I've tried to change the xml output method from xml to html but
that just renders the actual html entities rather than the line
breaks.

Is there a good way around this?  

Thanks!


More information about the thelist mailing list