Path - Intergraph Smart 3D - Reference Data

Intergraph Smart 3D Structural Manufacturing Reference Data

Language
English
Product
Intergraph Smart 3D
Subproduct
Structural Manufacturing
Search by Category
Reference Data
Smart 3D Version
11 (2016)

A simplified version of the UNIX folder path or Xpath syntax.

Character(s)

Description

.

Indicates the current element in the XML. A path starting with this character is relative.

..

Indicates the parent of the current element in the XML. A path starting with this character is relative.

/

Separates the elements in the path.

The path "./Documents" creates an element named "Documents" and appends it to the current element. The document is appended to the newly created Documents element.

The path "../Documents" behaves the same as "../Documents" except that the "Documents" element is appended to the parent node of the current node. If ".." reaches the root element and there are more ".." characters in the path, the element does not change.

If the path does not begin with ‘.’ or "..", then the path is absolute and starts at the root element of the output XML. The path "/Documents" and "Documents" are absolute paths that create the "Documents" element and append it to the root element.

In all cases, if the "Documents" element already exists in the location pointed to by the path, that element is used instead of a new element.

‘.’ and ".." are not valid after a name is encountered in the path. The path "../../Documents /.." and "../../Documents /." are not valid.