﻿<?xml version="1.0" encoding="utf-8"?>
<!-- The format of a page element is
  *Mandatory attributes 
      id          - an integer, will be the ID property of the PageLink property on the generated PageData object
                  There should not exist two page elements with same id and property PageLanguageBranch.
      parent      - The parent node for the page. Could either be the id of another page element in the xml file or 0.
                  0 indicates the page is child to entryPoint, we store reference to entryPoint with 0 in xml file so
                  it is possible to change entryPoint without having to change xml file.
      pagetypeid  - The id of the page type to use for the page. The page type implies which properties the PageData
                  object will have and which template that should be used for rendering of the page
  *Optional attributes
      security    - If given states which access users/roles should have to the page. If not given the page will inherit
                  settings from its parent. The format of the value of this attribute is 
                  <user/role>:<AccessLevel>[;<user/role>:<AccessLevel>....] e.g. Everyone:Read;Administrators:Create,Edit
  *Elements
      property    -Has attribute name which states the name of the corresponding PropertyData object in the Property collection
                  on the generated PageData object. The value of the element is the string representation of the property value.
        Following properties are mandatory:
                  - PageGUID, should be same for page nodes with same id.
                  - PageName, the name of the page.
                  - PageLanguageBranch, states which language the page should be on. Valid values are Language Codes for languages
                    enabled for the site.
                  - PageMasterLanguageBranch, states which language is the master language version of the page. This is the page
                    that holds common properties (that is properties not marked as language specific on the page type)
-->
<pages>
  <page id="10010" parent="0" pagetypeid="3" versionid="1">
    <property name="PageGUID">757223c4-55a9-48a1-a799-fa3bc13a740c</property>
    <property name="PageTypeID">3</property>
    <property name="PageWorkStatus">4</property>
    <property name="PageFolderID">105</property>
    <property name="PageTypeName">[Public] Standard page</property>
    <property name="PageMasterLanguageBranch">en</property>
    <property name="PageLanguageBranch">en</property>
    <property name="PageName">Virtual page</property>
    <property name="PageStartPublish">05/20/2008 09:04:00</property>
    <property name="PageVisibleInMenu">True</property>
    <property name="PageCreated">05/20/2008 09:04:00</property>
    <property name="PageChildOrderRule">1</property>
    <property name="PagePeerOrder">100</property>
    <property name="PageURLSegment">Virtual-page</property>
    <property name="PageShortcutType">0</property>
    <property name="PageLinkURL">/CPS/Templates/Public/Pages/Page.aspx</property>
    <property name="Heading">A virtual page</property>
    <property name="MainBody">&lt;p&gt;This page does not exist in EPiServer db but resides in an XML file.&lt;/p&gt;</property>
    <property name="SecondaryBody">&lt;p&gt;Second body&lt;/p&gt;</property>
    <property name="MetaAuthor">John Doe</property>
  </page>
  <page id="10010" parent="0" pagetypeid="3" versionid="2">
    <property name="PageGUID">757223c4-55a9-48a1-a799-fa3bc13a740c</property>
    <property name="PageWorkStatus">4</property>
    <property name="PageLanguageBranch">sv</property>
    <property name="PageMasterLanguageBranch">en</property>
    <property name="PageName">Virituell sida</property>
    <property name="PageStartPublish">05/20/2008 09:05:00</property>
    <property name="PageCreated">05/20/2008 09:05:00</property>
    <property name="PageURLSegment">Virituell-sida</property>
    <property name="PageShortcutType">0</property>
    <property name="PageLinkURL">/CPS/Templates/Public/Pages/Page.aspx</property>
    <property name="Heading">En virituell sida</property>
    <property name="MainBody">&lt;p&gt;Denna sida finns ej i EPiServers databas utan sparas i en XML fil&lt;/p&gt;</property>
    <property name="SecondaryBody">&lt;p&gt;Annat data&lt;/p&gt;</property>
    <property name="MetaAuthor">Svenne</property>
  </page>
  <page id="10011" parent="10010" pagetypeid="3" versionid="1" security="Everyone:Read;Administrators:Create,Edit">
    <property name="PageGUID">35a988fe-2bc1-4e45-a41f-3a009a660551</property>
    <property name="PageTypeID">3</property>
    <property name="PageWorkStatus">4</property>
    <property name="PageFolderID">118</property>
    <property name="PageTypeName">[Public] Standard page</property>
    <property name="PageMasterLanguageBranch">en</property>
    <property name="PageLanguageBranch">en</property>
    <property name="PageName">Sub page</property>
    <property name="PageStartPublish">05/20/2008 09:06:00</property>
    <property name="PageVisibleInMenu">True</property>
    <property name="PageCreated">05/20/2008 09:06:00</property>
    <property name="PageChildOrderRule">1</property>
    <property name="PagePeerOrder">100</property>
    <property name="PageURLSegment">Sub-page</property>
    <property name="PageShortcutType">0</property>
    <property name="PageLinkURL">/CPS/Templates/Public/Pages/Page.aspx</property>
    <property name="Heading">A subpage</property>
    <property name="MainBody">&lt;p&gt;an external subpage&lt;/p&gt;</property>
    <property name="SecondaryBody">&lt;p&gt;second body&lt;/p&gt;</property>
    <property name="MetaAuthor">John Doe</property>
  </page>
</pages>