Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load simple XML from TextInput to Datagrid

Status
Not open for further replies.

countdrak

Programmer
Jun 20, 2003
358
US
Noob Question.

I have been trying to find a simple example to load a XML file from the users computer and then have it displayed in a Datagrid.

The XML file has only two nodes, for eg.

<users>
<firstname>Jane</firstname>
<lastname>Doe</lastname>
</users>

I just want the data grid to display all data in two columns. The catch is that the user types the PATH OF the XML file. So it can be diff for diff users.

Text Box ------- Load File Button
Datagrid

I don't care if the windows explorer opens or not , if the file is found and the format is correct then juat load the data. The user has to type the path.

I couldnt find much information on loading a file , can anyone help. I am a flex noob so please HELP!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top