Last post May 21, 2011 04:48 AM by Decker Dong - MSFT
May 19, 2011 07:13 AM|mateen.khan14|LINK
I have created a code to generate XML using
XmlTextWriter class. But after the XML loads on page. I get this message after few xml tags.
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the
Refresh button, or try again later.
Only one top level element is allowed in an XML document. Error processing resource 'http://localhost:4195/GenerateXML.aspx...
When i see the XML from View Source its fine . All the tags are well formed but the problem is its not showing up on Internet explorer.
May 19, 2011 09:51 AM|kuber.manral|LINK
Please provide us the source code, you are using? and source file, if any?
May 21, 2011 04:48 AM|Decker Dong - MSFT|LINK
Your xml's formation is wrong, because an xml file only allows one root. You must have more than one element as a root.