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: Need a Custom or Prewritten Perl Program?: I need a program that...: copy part of xml to other xml: Edit Log



deepthi28
New User

Nov 9, 2012, 4:58 AM


Views: 13524
copy part of xml to other xml

I have 2 xml files say one.xml and two.xml.

1.I need to update 5 tags in one.xml and copy 5 more tags from two.xml to one.xml.
2. Now, i need to update 5 tags in two.xml and copy 5 more tags from one.xml to two.xml.

I am using simple:XML in updating the tags and it is working fine.

Now, i have 2 problems.

1. The updated xml need to be written to the original one.xml by taking a backup of it.
2. copying the part of xml from two to one is not working.

Can anyone throw some help here.

Thanks


(This post was edited by deepthi28 on Nov 9, 2012, 4:59 AM)


Edit Log:
Post edited by deepthi28 (New User) on Nov 9, 2012, 4:59 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