Previous Next  

Element: Module

Document type

Module

Document XPath

/Module

Schema XPath

/ConfigRecord/Module

Description

The Module element is the root element of the Module document type.

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

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

Following the XML declaration, create the root Module element:

<Module 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 ..\cleanschemas\Module.xsd"
 Name="my-module" Id="0">
 ...
</Module>
			

The Module element must include the required XML attributes that identify the schema and namespace for the document. The first three attributes are standard and should be entered exactly as shown. The xsi:schemaLocation attribute associates the namespace (http://www.windriver.com/vxWorks653/ConfigRecord) with the schema file (Module.xsd). You should provide the correct path to your copy of the schema. The location of the schema files in the installation 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

Ace

Applications

Connections

CoreOS

Extensions

HealthMonitor

Partitions

Payloads

Schedules

SharedDataRegions

SharedLibraryRegions

xi:include

Attributes

Id

Restrictions

Attribute: Id

Document XPath
/Module/@Id
Schema XPath
/ConfigRecord/Module/@Id
Description

The numeric identifier for the module. This value becomes the value of the configRecord field CORE_OS_CFG_RECORD.moduleId. The identifier can be retrieved at runtime by calling configRecordFieldGet (pCfg, CORE_MODULE, 0, &value).

Use

Optional

Target location

ConfigRecord

XML data type

IdentifierValueType

Destination data type

Unsigned 32 bit integer

Behavior if not specified

An ID of 0 is assigned.

Values with special meanings

None

Restrictions

None




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