Previous Next  

Element: PartitionDescription

Document type

PartitionDescription

Document XPath

/PartitionDescription

Schema XPath

/ConfigRecord/Module/Partitions/Partition/PartitionDescription

Description

The PartitionDescription element is the root element of a PartitionDescription document that defines the configuration of the partition.

When you create a PartitionDescription document, you should start with the XML declaration:

<?xml version="1.0" encoding="UTF-8"?>
			

Following the XML declaration, create the PartitionDescription root element:

<PartitionDescription
 xmlns="http://www.windriver.com/vxWorks653/ConfigRecord"
 xmlns:xi="http://www.w3.org/2001/XInclude"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://www.windriver.com/vxWorks653/ConfigRecord ../cleanschema/Partition.xsd"
>
</PartitionDescription>
			

The PartitionDescription element must include the required XML attributes that identify the schema and namespace for the document. In this case, the part of the VxWorks 653 Configuration Schema schema that defines a PartitionDescription document is Partition.xsd.

The xmlns attributes are standard and should be entered exactly as shown (unless you wish to change the namespace prefixes used in the document). The xsi:schemaLocation attribute associates the namespace (http://www.windriver.com/vxWorks653/ConfigRecord) with the schema file (Partition.xsd). You should provide the correct path to your copy of the schema. The location of the schema files in the install is installDir/vxworks653-2.2/target/config/xml/cleanschema.

If you use a schema-aware XML editor to create your files, it will probably create these attributes for you.

Use

Required

Children

Application

Extensions

Ports

Settings

SharedDataRegion

SharedLibraryRegion

Attributes

None

Restrictions

None




Generated on 2007-10-15 17:17:22.