CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Add element in XML file: Edit Log



Andryx92
New User

Feb 22, 2014, 6:33 AM


Views: 3210
Add element in XML file

I apologize in advance if I do not speak good English but i am an Italian student...
My problem is:
I want to insert a new element (new admin) in a XML file and save the update. For example I want start whit this element:

<admins>
<admin>
<mail>admin@admin.it</mail>
<password>admin</password>
<user>admin</user>
</admin>
</admins>

the output tha i want is for esample:
<admins>
<admin>
<mail>admin@admin.it</mail>
<password>admin</password>
<user>admin</user>
</admin>
<admin>
<mail>master@uni.it</mail>
<password>master</password>
<user>master</user>
</admin>
</admins>

How i can do it?

Thanks and sorry for the bad english!


(This post was edited by Andryx92 on Feb 22, 2014, 6:41 AM)


Edit Log:
Post edited by Andryx92 (New User) on Feb 22, 2014, 6:41 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives