Thinking about this I whipped up some simple code that would change the data in all sets of the tags found in the text. The parameters would be the same as in
settagdata but I would call this version
// setalltagdata PAGE, PREFIX, SUFFIX, DATA, SEP
This could be made a custom statement or used as is as a standalone procedure activated by a
call statement using the proper parameters:
call setalltagdata,theText,"<NAME>","</NAME>","Joe Blow",cr()
This would change data in all occurrences of the tags to “Joe Blow” or add a tag at the end of theText with that data if there were no tags in the original text. I don’t know how often a need for this would arise so it might be a little wasted effort on my part - not the first time for sure.