The output XML format is badly designed. The number appended to the tag names is conveying no information at all ( unless you have forgotten to tell us something ).
If you have any control at all over the receiving application then I suggest that you get the numbers removed from the tag names. _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
ganesh wrote:
Quote:
I wan to have DYNAMIC CREATION OF TAGS.
Use curly braces "{".
While that might actually solve the problem, it does not address the issue pointed out by Kimbert.
If there are a variable number of <Rule'n'> tags, how will the receiver of that data know how to iterate through them? Not all systems have clever things like references in ESQL that make it easy to go through a structure like the one proposed AND get the FIELDNAME each time.
It is a case of tryling to look at the bigger picture. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum