I'm trying to load a MathCAD 13 document into an xmldocument in Visual Studio 2005
But I get the follwing error message:
Data at the root level is invalid. Line 1, position 1.
The first lines of the xml document are:
When I just use
I struggle to use
I don't know if it's related but I seem to think so.
Any ideas?
Code:
Dim xmlDoc As New Xml.XmlDocument
'Load the xml document
xmlDoc.LoadXml("test1.xmcd")
But I get the follwing error message:
Data at the root level is invalid. Line 1, position 1.
The first lines of the xml document are:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?validation-md5-digest a38d3955c9cd5d0521007998f5a2d587?>
<worksheet version="2.0.2" xmlns="[URL unfurl="true"]http://schemas.mathsoft.com/worksheet20"[/URL] xmlns:xsi="[URL unfurl="true"]http://www.w3.org/2001/XMLSchema-instance"[/URL] xmlns:ws="[URL unfurl="true"]http://schemas.mathsoft.com/worksheet20"[/URL] xmlns:ml="[URL unfurl="true"]http://schemas.mathsoft.com/math20"[/URL] xmlns:u="[URL unfurl="true"]http://schemas.mathsoft.com/units10"[/URL] xmlns:p="[URL unfurl="true"]http://schemas.mathsoft.com/provenance10">[/URL]
When I just use
Code:
xmlDoc.Load("test1.xmcd")
Code:
xmldoc.SelectNodes("worksheet")
I don't know if it's related but I seem to think so.
Any ideas?