> Is there a way to perform recursive variable substitution
> For eg,
>
> %doc[%$iteration%]%
The problem with this is webMethods variable names are pretty loose (pretty much anything except tabs or newlines)
For eg: you can have a variable named ‘]’ with value ‘3’.
About simple nested tags, it is possible to write a general purpose routine to detect the innermost pair of tags, then pickup the correponding value from the pipeline, then substitute it using pub.string:replace.
For eg:
%test[%$iteration%]%
Something more general purpose gets hairier and would need to be tested throughly.
For eg:
%outer%middle%inner%%%
%outer%middle_1%%middle_2%%
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services