General syntax |
<pemapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="mapping-schema.xsd "
version="1.0">
<import name="unique name of the import to reference it as a namespace"
path="the path of the imported file" />
</pemapping>
|
Description |
Defines an import of a configuration XML file. The
imported and importing file must be of the same version. |
Attributes |
Name |
Use |
Annotation |
name |
required |
The name of the import used to address the regular expression
references. Address the references in the imported file with the syntax:
importName::referenceName Allowed characters: [p{Alnum}\_\-] =
[a-z A-Z 0-9 _ -] |
path |
required |
The path of the file to import. The path can be absolute or
relative to the path of the importing file. |
Examples |
<!-- imports the file import1.xml from the same directory as the current
file, (relative path) -->
<pemapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="mapping-schema.xsd"
version="1.0">
<import name="import1" path="import1.xml" />
</pemapping>
<!-- imports the file import1.xml from given path (absolute path) -->
<pemapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="mapping-schema.xsd " version="1.0">
<import name="import1" path="C:/configurations/import1.xml"/>
</pemapping>
|