Marker Tags¶
Tag | Data type | Description |
---|---|---|
marker | Object | Creates a marker object. |
setMarker | Default Method | Defines the marker. |
setMarkerByPieces | Method | Defines the marker by concatenating the attributes. |
marker¶
Property
<marker id=”myMarkerId”>marker value</marker>
Data type
Object
Description
Creates a marker object
Attributes:
- id (required): the identifier.
It is equivalent to:
<marker id="myMarkerId">
<setMarker value="marker value"/>
</template>
setMarker¶
Property
<setMarker value=”marker value” />
Data type
Default method
Description
Defines the marker.
Attributes:
- value (required): the value for the marker.
setMarkerByPieces¶
Property
<setMarkerByPieces attribute1 .. AttributeN />
Data type
Default method
Description
Defines the markerby concatenating the attributes.
Attributes:
- Any attribute name can be used. The resulting marker is the concatenation of all attribute values.
In the following exemple, the marker myMarkerId
has the value
Number of pages created per year
.
<marker id="myMarkerId">
<setMarkerByPieces part1="Number of " part2="pages created " part3="per year" />
</marker>
This method is useful when markers include information from a query, for example. In this case, a part is a reference to the data generated by the query.
Tip
Using \n in an attribute value generates a newline break.