C# (xml) Editing a single element within a node

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vega
    New Member
    • Apr 2008
    • 1

    C# (xml) Editing a single element within a node

    Hello,

    I currently have a form that reads through an xml file and displays information based on the object selected in the combobox.

    I can read the information from the xml just fine, but editing and saving the information is where I'm having trouble at.

    xml file:

    <Objects>
    <Object name="Square">
    <Height>15</Height>
    <Width>15</Width>
    <Color>red</Color>
    <Object name="Circle">
    <Radius>10</Radius>
    <Hollow>True</Hollow>
    <HollowRadius>5 </HollowRadius>
    <Color>blue</Color>
    </Objects>


    How would I change the "Sqaure" objects height value?
    or
    How would I change the "Circle" objects hollow value to false?

    Thanks
  • nateraaaa
    Recognized Expert Contributor
    • May 2007
    • 664

    #2
    See this thread.



    Nathan

    Comment

    Working...