Click or drag to resize
toolspecificType Complex Type

Toolspecific data

Namespace: Empty

Schema: Empty

Base Type
Usages
Children
NameOccurrencesDescription
Element tool[1, *]

Data of a single tool

Attributes
NameTypeRequiredDescription
Attribute externalDataDirectorySimple Type string

Directory of the external data file

Attribute externalDataNodePathSimple Type string

Path of the node inside the external data file

Attribute externalFileNameSimple Type string

Name of the external data file

Remarks
This type contains a list of tools each specifying some basic tool information as well as the actual toolspecific part. The toolspecific elements must be defined in a separate namespace which can be specified and linked with the corresponding XSD file in the CPACS header:
CPACS header
<cpacs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:noNamespaceSchemaLocation="pathToSchemaFile/cpacs_schema.xsd"
       xsi:schemaLocation="http://www.cpacs.de/myTool pathToToolspecificSchemaFile/toolspecific_myTool.xsd">
A simple example could look like this:
Toolspecific node
<toolspecific>
    <tool>
        <name>myToolName</name>
        <version>1.2.3</version>
        <myTool xmlns="http://www.cpacs.de/myTool" schemaVersion="1.0">
            <parentElement>
                <childElement1>stringValue</childElement1>
                <childElement2>1.0</childElement2>
            </parentElement>
        </myTool>
    </tool>
</toolspecific>