GetPageContent method XML missing root element

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:page
xmlns:eek: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:pageSettings RTL="false" color="automatic">
- <one:pageSize>
<one:Automatic />
</one:pageSize>
<one:RuleLines visible="false" />
</one:pageSettings>
- <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:page>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top