Note that there are some explanatory texts on larger screens.

plurals
  1. POXML root disappearing?
    text
    copied!<p>This is an embedded resource in VS2010 for a C# program. </p> <pre><code>&lt;?xml version="1.0"?&gt; &lt;?mso-application progid="Excel.Sheet"?&gt; &lt;Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40"&gt; &lt;DocumentProperties xmlns="urn:schemas-microsoft-com:office:office"&gt; . . . &lt;/DocumentProperties&gt; &lt;ExcelWorkbook..&gt; . . . &lt;/ExcelWorkbook&gt; &lt;Styles&gt; . . . &lt;/Styles&gt; &lt;Worksheet&gt; . &lt;/worksheet&gt; &lt;/Workbook&gt; </code></pre> <p>When I navigate to the root while the program is running, it looks like everything is there... but then I view it in XML Visualizer and I only see <code>&lt;Workbook....../&gt;</code>. This is quite odd since when viewing InnerXML for Workbook, it will show the <code>&lt;ExcelWorkbook xmlns:...&gt;</code> with the error <code>"Only one top level element is allowed in an XML document. Error processing resource 'file:///C:/Users/...'"</code> Upon viewing that file, it look like: </p> <pre><code>&lt;DocumentProperties xmlns="urn:schemas-microsoft-com:office:office"&gt; . . . &lt;/DocumentProperties&gt; &lt;ExcelWorkbook..&gt; . . . &lt;/ExcelWorkbook&gt; &lt;Styles&gt; . . . &lt;/Styles&gt; &lt;Worksheet&gt; . &lt;/worksheet&gt; </code></pre> <p>and is clearly missing the root .</p> <p>I've checked, rechecked, recreated from excel, checked, and checked again the formatting for the resource xml file and see nothing wrong. Has anybody ran into this before?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload