3.2.0

XML Data

Hi Everyone,

I am sure if I knew more about XML and ActiveWidgets Grid, this would be obvious, but does the XML naming structure matter?

It seems like I could have this kind of structure:

<BEGIN>
<ROW>
<FIELD>data</FIELD>
<FIELD>data2</FIELD>
</ROW>
<ROW>
<FIELD>data</FIELD>
<FIELD>data2</FIELD>
</ROW>
</BEGIN>

Or this:

<Companies>
<Company>
<Name>data</Name>
<Address>data2</Address>
</Company>
<Company>
<Name>data</Name>
<Address>data2</Address>
</Company>
</Companies>


And the XML loading from table.setURL wouldn't care.
It would load both into the grid exactly the same.

So...the name tags around the data doesn't matter as long as the structure is correct?

Is this right?

Jim
Jim Nickel
November 7,
You can specify with XPath which columns/rows should be selected -

http://www.activewidgets.com/aw.xml.table/columns.html
http://www.activewidgets.com/aw.xml.table/rows.html

By default the XPath is * so element names don't matter.
Alex (ActiveWidgets)
November 8,

This topic is archived.

See also:


Back to support forum