libxml and insert

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • captain biceps

    #1

    libxml and insert

    Helloe...
    with libmxml2 I have :<N1>
    <INFO>tmp</INFO>
    ....
    </N1>

    and I would like to add new node like

    <NEWNODE>
    <N1>
    <INFO>tmp</INFO>
    ....
    </N1>
    </NEWNODE>
    Is there a better/faster solution than re-create a new doc+create node+copy
    old node, etc... ?


    thanx


Working...