Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C#ASP.NETXML
Here is a xml file
  <make name="AAA">
    <model name="ssss">
      <color name="Red" />
    <model name="qqqq">
      <color name="Green" />
  <make name="AAB">
    <model name="aaaa">
      <color name="Black" />
  <make name="AAC">
    <model name="dddd">
      <color name="Blue" />
If i want to insert a new node inside the existing node how to write that?
Suppose i want to insert a color node which has a attribute say Pink in make node "AAA" and model node "qqqq".
How to do that?
If i want to modify any of sub node; how should i do that? even to delete some specific node or sub node how to do that also?
Thanks in advance.
Posted 11-Sep-12 20:19pm
Edited 11-Sep-12 20:22pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
0 Shai Vashdi 1,518
1 OriginalGriff 478
2 Manas Bhardwaj 349
3 Tadit Dash 285
4 Damith Weerasinghe 260
0 Sergey Alexandrovich Kryukov 9,575
1 OriginalGriff 5,856
2 Peter Leow 4,405
3 Maciej Los 3,540
4 Abhinav S 3,513

Advertise | Privacy | Mobile
Web01 | 2.8.140415.2 | Last Updated 12 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid