Use of this API subroutine is now deprecated - it can still be used, but for new developments it is recommended that you use RWA_TAG_ATTR for enhanced functionality.
Uses tag names taken from a dynamic array to format attributes from a second dynamic array. For each attribute in the tag list, the corresponding attribute in the second array is enclosed in a pair of tags of the specified type.
RW_TAG_ATTR(aTagList, aAttrList, Start, vString)
aTagList An attribute-separated list of tag names.
aAttrList A dynamic array containing attributes to be tagged.
Start The number of the first attribute in aAttrList to be tagged. Item numbering starts from 1.
vString The string to which the processed text is to be appended.
If TAGS contains the following:
"type":AM:"make":AM:"model":AM:"colour"
and CAR contains the following:
"4-door saloon":AM:"Ford":AM:"Escort":AM:"Blue"
calling
RW_TAG_ATTR(TAGS, CAR, 1, STRING)
appends the following to STRING:
<type>4-door saloon</type> <make>Ford</make> <model>Escort</model> <colour>Blue</colour>