You must use the block name XML and the correct element syntax to map variables to XML values .
Use the block name XML and the correct element syntax when defining variables.
Use the following guidelines to name the variable attributes:
|
Syntax |
In the example: |
1 - Root element attribute |
[RootElement]/@[Attribute] |
The attribute mapping File/@Name returns the value 01 Ceilings. |
2 - Element tag |
[RootElement]/[Element] |
The attribute mapping File/Description returns the value Sample. |
3 - Nested attribute |
[RootElement]/[Element]/[NestedElement]/@[Attribute] |
The attribute mapping File/Region/Cell/@Division returns the value 1. |
4 - Nested element |
[RootElement]/[Element]/[NestedElement] |
The attribute mapping File/View/ViewportDefault/DispConfig returns the value Reflected. |
5 - Multiple element values |
When multiple elements with the same name are found, use all values (one per row for multiline edit box). |
The attribute mapping File/View/ViewCategory/ContextCategory returns a list of Constructs\Architectural, Constructs\Architectural\Partitions, Constructs\Architectural\Shell, and so on. |