EnsurePage Element

Represents a command to verify the specified page exists, and if it does not, create it. This includes creating any folders or sections specified in the file path that do not already exist.

You are not required to include an EnsurePage element for each page on which you want to place content. However, if you use the PlaceObjects element to try and place objects on a page that does not exist, the import fails.

Usage

			
<EnsurePage path="MSN Instant Messenger\Conversations.one"
         guid="{8FDD3C41-5BB5-4595-B019-7E7E9BC9D38E}" 
         title="Personal" 
         date="2003-10-16T17:30:00-08:00"
         insertAfter="{05239BEA-894E-406d-80AD-8678D1BC1EDD}"/>

		

Element Information

Element type EnsurePageVerb
Namespace http://schemas.microsoft.com/office/onenote/2004/import
Schema name SimpleImport

Elements and Attributes

Parent Elements

Element Description
Import Represents the root element of the OneNote 2003 simple import schema. .

Child Elements

None.

Attributes

None.

However, the element type, EnsurePageVerb, does have attributes.

Definition

			
<xsd:element name="EnsurePage" type="EnsurePageVerb"/>

		
©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp