#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    1
    Rep Power
    0

    How to add more data into XML document ?


    I really could use some help, im stuck on this for quite a while What i have is XML file with structure like :
    Code:
    <CLIENT_DB>
    	<CLIENT>
    		<NAME>Mike</NAME>
    		<SURNAME>Johnson</SURNAME>
    		<WARRANTY_NR>02030401</WARRANTY_NR>
    		<ITEM>Laptop</ITEM>
    		<WARRANTY>3 years</WARRANTY>
    		<PRICE>489.43</PRICE>
    		<DATE>01.01.2011</DATE>
    	</CLIENT>
    </CLIENT_DB>
    Document name is ClientDB.xml
    What i want is to add more records to this XML file(more clients with all the data thats between client /client tags), with help of form, from html.
    I have no idea how to do this, i have managed to make find funtion to find clients in xml file and to display them in html table, but this, i really got no idea how to do this. Could anyone please direct me to some examples, since searching in google didnt really do it for me or type some example how its done
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Location
    Croatia
    Posts
    65
    Rep Power
    3
    I whant too know haw to do this. Someone please help?

IMN logo majestic logo threadwatch logo seochat tools logo