cancel
Showing results for 
Search instead for 
Did you mean: 

XML node and childs

Former Member
0 Kudos

Hello

I receive a XML file like this:

<?xml version="1.0" encoding="UTF-8"?>

<LIST>

          <ITEM>

                    <A>1</A>

                    <B>1</B>

          </ITEM>

          <ITEM>

                    <A>2</A>

                    <B>2</B>

          </ITEM>

</LIST>

I need to access to single ITEM structures, then I put a repeater action.

Which is the XPath command in order to set Repeater.Output as single ITEM? I tried Transaction.InputXml{/LIST/*} but it doesn't work.

Output required:

     <ITEM>

          <A>1</A>

          <B>1</B>

     </ITEM>

Does anybody know how to do this?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Yes, I did it there. The mistake was a XML copy after the block. Thank you, now it works well.

agentry_src
Active Contributor
0 Kudos

Hi Fabio,

I tried to delete the duplicate, but both of my postings were removed.  Glad that you were able to resolved the problem.  Please mark this answered (again).  Sorry, but we are going to through some transition pains with the new SCN/SDN software.

Thanks, Mike

Former Member
0 Kudos

I saw
New interface is better but has some bugs...but I prefer it. Very good product.

Bye bye

Answers (0)