S
Sam
Hello,
When I run a program executing the GetPageContent method it seems to return
XML that does not have a root. (When I try to load it into Internet Explorer
7 I get this message: Only one top level element is allowed in an XML
document.) Am I doing something wrong? If not, how do I go about processing
the XML?
Here is an excerpt of the XML:
<?xml version="1.0" ?>
- <one
age
xmlns
ne="http://schemas.microsoft.com/office/onenote/2007/onenote"
ID="{12AE1835-FC39-427F-99C2-854EAFB34C4F}{1}{B0}" name="To Do List"
dateTime="2008-12-16T16:03:20.000Z"
lastModifiedTime="2008-12-16T16:03:20.000Z"
style="font-weight:bold;font-family:Calibri;font-size:11.0pt; color:navy"
lang="en-US">
<one:TagDef index="0" type="0" symbol="3" fontColor="automatic"
highlightColor="none" name="To Do" />
- <one
ageSettings RTL="false" color="automatic">
- <one
ageSize>
<one:Automatic />
</one
ageSize>
<one:RuleLines visible="false" />
</one
ageSettings>
- <one:Title style="font-weight:bold;font-family:Calibri;font-size:17.0pt;
color:navy" lang="en-US">
- <one:OE author="Microsoft Employee" lastModifiedBy="Microsoft"
creationTime="2006-03-04T00:57:35.000Z"
lastModifiedTime="2008-12-16T16:03:20.000Z"
objectID="{2BFC4B15-1984-48B6-9C72-A05D9B9A1D38}{75}{B0}" alignment="left">
- <one:T>
- <![CDATA[
To Do List
]]>
</one:T>
</one:OE>
</one:Title>
</one
age>
When I run a program executing the GetPageContent method it seems to return
XML that does not have a root. (When I try to load it into Internet Explorer
7 I get this message: Only one top level element is allowed in an XML
document.) Am I doing something wrong? If not, how do I go about processing
the XML?
Here is an excerpt of the XML:
<?xml version="1.0" ?>
- <one
xmlns
ID="{12AE1835-FC39-427F-99C2-854EAFB34C4F}{1}{B0}" name="To Do List"
dateTime="2008-12-16T16:03:20.000Z"
lastModifiedTime="2008-12-16T16:03:20.000Z"
style="font-weight:bold;font-family:Calibri;font-size:11.0pt; color:navy"
lang="en-US">
<one:TagDef index="0" type="0" symbol="3" fontColor="automatic"
highlightColor="none" name="To Do" />
- <one
- <one
<one:Automatic />
</one
<one:RuleLines visible="false" />
</one
- <one:Title style="font-weight:bold;font-family:Calibri;font-size:17.0pt;
color:navy" lang="en-US">
- <one:OE author="Microsoft Employee" lastModifiedBy="Microsoft"
creationTime="2006-03-04T00:57:35.000Z"
lastModifiedTime="2008-12-16T16:03:20.000Z"
objectID="{2BFC4B15-1984-48B6-9C72-A05D9B9A1D38}{75}{B0}" alignment="left">
- <one:T>
- <![CDATA[
To Do List
]]>
</one:T>
</one:OE>
</one:Title>
</one