Skip to content

Question-Add a node  #48

@danoyoung

Description

@danoyoung

I'm new to parsing XML, so I may have my terms conflated and not know what the hell I'm talking about.... But I have a xml file like this:

<configuration>
 <property>
    <name>foo1</name>
    <value>bar</value>
  </property>
</configuration>

and I want to add a node, under the parent, so I'll end up having:

<configuration>
 <property>
    <name>foo1</name>
    <value>bar</value>
  </property>

 <property>
    <name>foo1</name>
    <value>baz</value>
  </property>
</configuration>

Is that possible with this library? and if so, any pointers/examples would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions