Harness data xml file schema

An XML schema is used to describe the format of XML files used to import and export data for a harness. The schema describes most of the data model of the Cable & Harness application for a single harness.

The schema consists of a single <harness> element (or tag) and many types that apply to the elements contained in that element. Most of these types are complex types consisting of attributes, as well as elements of simple or complex types. The schema also uses primitive types such as a string defined by the World Wide Web Consortium (W3C) XML schema standard.

For an example file see the Assembly2000.Harness1.xml file in the Example XML File folder. The default location is:

Microsoft Windows 7 and Windows 8 operating systems:

XML schema component descriptions

The attributes or child elements for each element or type are listed in the order they appear in an XML document. Attribute names are enclosed in quotation marks and element names are enclosed in angle brackets. Each attribute or child element has a type, which is shown in italics. Attributes are listed as required or optional along with the number of times child elements can appear.

<HarnessData> Element

The single root element in a harness XML document.

<Harness> Complex Type

The complete data for a single harness.

Type Simple Type

String values for types in Cable and Harness:

Area

Current

Date

Length

Mass

Resistance

Temperature

Text

Unitless

Voltage

Volume

YesNo

<PropertyDefinition> Complex Type

A definition for a custom property that is referenced by elements of type Property.

<Property> Complex Type

A value for a custom property. At most one value can exist for a given custom property in each context where this type is used.

<SpliceDefinition> Complex Type

A library splice definition in a cable and harness library.

<PinDefinition> Complex Type

A library splice definition in a cable and harness library.

<WireDefinition> Complex Type

A library wire definition in a cable and harness library.

<CableWireDefinition> Complex Type

A cable wire definition, which is a reference to a library wire with an additional name.

<CableDefinition> Complex Type

A library cable definition in a cable and harness library.

<TerminalDefinition> Complex Type

<SealDefinition> Complex Type

<PlugDefinition> Complex Type

<LoomDefinition> Complex Type

<LabelDefinition> Complex Type

<UserDefinedVirtualPartDefinition> Complex Type

<Library> Complex Type

A cable and harness library, including definitions of custom properties, library wires, library splices, library virtual parts, and library cables.

<Coordinates> Complex Type

The coordinates of 3D point in space or a 3D vector.

<CoordinateSystem> Complex Type

A coordinate system for a connector part occurrence, consisting of position (origin) and three vectors defining an orientation in 3D space.

<PointDefinition> Complex Type

A point in space used by one or more segments, wires, or cables in a harness. The point corresponds to a work point in the harness part document.

<OccurrencePath> Complex Type

A path to a connector part occurrence in the top assembly, used to uniquely refer to a connector part occurrence when no reference designator is available.

<WirePin> Complex Type

A terminating pin for a wire occurrence or cable wire occurrence.

<RouteSegment> Complex Type

A reference to a segment through which a wire or cable is routed, including the route direction.

<PinDefinition> Complex Type

An electrical pin on a connector part.

<ConnectorDefinition> Complex Type

A connector part, which is used as a definition for connector part occurrences.

<Pin> Complex Type

An occurrence of a pin on a connector part occurrence.

<Connector> Complex Type

An occurrence of a connector part.

<Segment> Complex Type

A segment in the harness through which wires or cables may be routed.

<Wire> Complex Type

A wire occurrence in the harness. Also used for cable wire occurrences.

<Cable> Complex Type

A cable occurrence in the harness.

<Splice> Complex Type

A splice occurrence in the harness.

<Terminal> Complex Type

A terminal occurrence in the harness.

<Seal> Complex Type

A seal occurrence in the harness.

<Plug> Complex Type

A plug occurrence in the harness.

<Label> Complex Type

A label occurrence in the harness.

<Loom> Complex Type

A loom occurrence in the harness.

<UserDefinedVirtualpart> Complex Type

A user-defined virtual part occurrence in the harness.