W
warrjo
Hi. Is this correct? Can I embed an XML document within another XML
doc without encapsulating it in CDATA?
<?xml version="1.0"?>
<envelope>
<content>
<?xml version="1.0"?>
<title>someTitle</title>
<body type="text/html">
<![CDATA[<p>some malformed html content<br>]]>
</body>
</content>
<metadata>
<creator>somebody</creator>
</metadata>
</envelope>
Thank you.
doc without encapsulating it in CDATA?
<?xml version="1.0"?>
<envelope>
<content>
<?xml version="1.0"?>
<title>someTitle</title>
<body type="text/html">
<![CDATA[<p>some malformed html content<br>]]>
</body>
</content>
<metadata>
<creator>somebody</creator>
</metadata>
</envelope>
Thank you.