The <fs:Attributes> element is a child element of the <fs:MetaInfo> element. It is used to describe custom attributes that contain various information about topobase shapes. An element that describes a custom element must be named <fs:Attribute>. This element is a child element of <fs:Attributes> and has the following mandatory attributes: Name and Type. <fs:Attribute> has a child element <fs:Data>, which attributes contain actual attribute values related to a specific shape.
The following attributes are used to create topobases:
The <fs:Attributes> attribute and all its child attributes are optional. If any of the attributes is missing, when converting values, its value can be skipped, default value can be used, or the value can be generated automatically.
<fs:Attributes>
<fs:Attribute Name="ISO" Type="string">
<fs:Data Id="RU-MOS" Value="RU-MOS" />
...
</fs:Attribute>
<fs:Attribute Name="OriginOffset" Type="point">
<fs:Data Id="RU-MOS" Value="0.5,0.5" />
...
</fs:Attribute>
<fs:Attribute Name="TextOriginOffset" Type="point">
<fs:Data Id="RU-MOS" Value="0.5,0.5" />
...
</fs:Attribute>
<fs:Attribute Name="BarOriginOffset" Type="point">
<fs:Data Id="RU-MOS" Value="0.5,0.5" />
...
</fs:Attribute>
<fs:Attribute Name="PieOriginOffset" Type="point">
<fs:Data Id="RU-MOS" Value="0.5,0.5" />
...
</fs:Attribute>
<fs:Attribute Name="ImageOriginOffset" Type="point">
<fs:Data Id="RU-MOS" Value="0.5,0.5" />
...
</fs:Attribute>
</fs:Attributes>
The <fs:Attributes> element has no attributes.
The <fs:Attribute> element attributes:
Attribute | Description |
Name | Attribute name. |
Type | Available types of attribute values. The following values are available:
|
The <fs:Data> element attributes:
Attribute | Description |
Id | Identifier of the shape, to which the data belongs. |
Value | Actual value that corresponds to the shape. Value type must correspond to the type specified in the Type attribute of the <fs:Attribute> element. |
IMPORTANT. Names of all attributes must start from an upper-case letter. Shape identifier must not start from a number.
See also: