xsl-list
[Top] [All Lists]

Mal-formed HTML within XML

2005-02-20 14:43:50
For historical reasons, I need to store mal-formed html within my xml data,
and then output it as html, without the tags showing.

<Content>
        <Section ref="2">
                <Name>Summary</Name>
                <HTML><p>Hello world&nbsp;</HTML>
        </Section>
<Content>

If I put the html inside CDATA tags, then the tags are displayed in the
browser, but if I don't use CDATA then the xml is not well-formed.

Is there a way to do this?

Maria



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>