Expand my Community achievements bar.

Changing the order my nodes show up in on XML

Avatar

Level 2

Hello,

I have a table with a repeatable row and the row is bound to 4 elements.  I have a checkbox and 3 text fields in this row.  When I export the XML, everything shows up just fine but it shows up like this:

<Testing>

<TestingCheckBox>Value For CheckBox #1</TestingCheckBox>

<TestingCheckBox>Value For CheckBox #2</TestingCheckBox>

<TestingCheckBox>Value For CheckBox #3</TestingCheckBox>

<TestingTextField1>Blah #1</TestingTextField1>

<TestingTextField1>Blah #2</TestingTextField1>

<TestingTextField1>Blah #3</TestingTextField1>

<TestingTextField2>Annoying #1</TestingTextField2>

<TestingTextField2>Annoying #2</TestingTextField2>

<TestingTextField2>Annoying #3</TestingTextField2>

<TestingTextField3>Ugh #1</TestingTextField3>

<TestingTextField3>Ugh #2</TestingTextField3>

<TestingTextField3>Ugh #3</TestingTextField3>

</Testing>

I want my nodes to show up as follows:

<Testing>

<TestingCheckBox>Value For CheckBox #1</TestingCheckBox>

<TestingTextField1>Blah #1</TestingTextField1>

<TestingTextField2>Annoying#1</TestingTextField2>

<TestingTextField3>Ugh #1</TestingTextField3>

<TestingCheckBox>Value For CheckBox #2</TestingCheckBox>

<TestingTextField1>Blah #2</TestingTextField2>

....

....

</Testing>

Can anyone help me with this?

Thanks,

Amanda

1 Reply

Avatar

Level 10

Hi,

That's odd. When I export the nodes are grouped by the repeating objects. Have a try at the last two tables at this example. The second last is a Table object and the last is a table created with Subforms: http://assure.ly/gk8Q7a.

Niall