This is probably simple for those that aren't flex newbies but my flex books haven't arrived yet from Amazon and I am getting confused by reading and searching on the web. What I have are xml document that I don't control that describe their own structure. See the simplified sample below:
<xml> <adml version="0"> <structure> <header>Name</header> <header>Address</header> <header>Phone</header> </structure> <contact> <data>Joe Doe</data> <data>Anywhere USA</data> <data>555-555-5555</data> </contact> <contact> <data>Joe Doe</data> <data>Anywhere USA</data> <data>555-555-5555</data> </contact> I want to make the <structure> elements the data grid column headers and have each of the <data> items rendered in the correct column. Can anyone provide a pointer as to how to proceed? Thanks!

