[XML-SIG] inserting nodes

Necati DEMiR ndemir at demir.web.tr
Wed Mar 30 15:35:33 CEST 2005


Hi,
again me :)
I wanna ask a question about inserting childs.
How can i insert a child?

For example, i have a xml file as the following;

<?xml version="1.0" encoding="UTF-8" >
<results>
    <result>
          <node1>test1</node1>
          <node2>tes2</node2>
    </result>
</results>

And i want the output as the following after inserting nodes

<?xml version="1.0" encoding="UTF-8" >
<results>
    <result>
          <node1>test1</node1>
          <node2>tes2</node2>
    </result>
    <result>
          <node1>qwe</node1>
          <node2>rty</node2>
    </result>

</results>

And, do you know a good xml/python document?



-- 
---------------------------------------------------
Necati DEMiR
http://demir.web.tr

ndemir at demir.web.tr
0xAF7F745F
8525 9E78 F4EB 1DC6 51F3  1913 BB0D 7D9A AF7F 745F
---------------------------------------------------



More information about the XML-SIG mailing list