Paul Knott

Paul Knott

  • NA
  • 1
  • 0

Reading XML and extracting nodes to textboxes

Dec 17 2009 12:51 PM
Hi, Hopefully someone can help me out with this :) What I'm trying to do is read an XML file (which I've managed to get working) and then put the values for each childnode into a textbox which can then be edited and written back to the XML file (essentially an xml editor) The format of the XML is as follows window controls control childnode01 childnode02...etc.... /control control childnode01 childnode02...etc.... /control control childnode01 childnode02...etc.... /control controls /window As the number of 'control' elements can change ideally I need to be able to determine how many there are and then grab each of these elements childnodes in a dynamic manner (so that no matter how many 'control' elements there are in the XML, the program will still work) I fully admit I may not have been overly clear while explaining, so if you have any specific questions, please do not hesitate. Thanks in advance Paul