Posted: Wed Aug 10, 2011 12:48 pm Post subject: WMB7 - ESQL SET dynamic reference
Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
and HI to all,
I have ESQL compute node getting XML with the following elements:
1. ElementPpath: Pointing to other element by name:
<ElementPath>level1.level2.level3</ElementPath>
How in ESQL can I dynamically replace abc with xyz?
I am looking for syntax that can replace any number of levels: level1 or level1.level2 or level1.level2.level3........
relatively easy... Write a recursive proc that looks for either the tag or the content. If you return a reference to that result you can change it quite easily... _________________ MQ & Broker admin
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