: I surrounded the html with the following: : <field name=\"html\"><![CDATA[ : ]]></field>
This is not a safe way to XML encode arbitrary text ... CDATA is automaticly closed when ]]> is encountered .. in your case, the HTML page itself contains the sequence "]]>" inside of a <script> tag ... so the parser is assuming everything after that is part of the XML document - and the </script> tag it sees isn't what it expects. there is no substitue for legal XML escaping of data. -Hoss