on 02-08-2011 7:52 AM
Hi,
If one transaction input parameter is xml string, like as below.
<a>
<b>
<c>1</c>
<d>2</d>
</b>
<b>
<c>3</c>
<d>4</d>
</b>
</a>
If I would like to get each element (maybe by repeater action), how to do that?
Thanks!
re-attached a example.
<ARef>
<BRef>
<c>1</c>
<d>2</d>
</BRef>
<BRef>
<c>3</c>
<d>4</d>
</BRef>
</ARef>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You must convert the string into xml with necessary action block. (XML Functions --> String to XML Parser)
Then you must put a repeater after converter action and you must set Xpath expression for repeater (configuration) like below:
String_To_XML_Parser_0.Output{/ARef/BRef}
after repeater you can use values like below:
Repeater.Output{/BRef/c}
Repeater.Output{/BRef/d}
Regards.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.