Updating a xml file from another xml file

rated by 0 users
This post has 0 Replies | 1 Follower

Not Ranked
Posts 1
nifa Posted: 12-19-2009 10:56 AM

Hello all,

 

I hope somebody will give me a help with this.

 I need to make a Powershell script that receives 2 XML files (source and destination) as parameter and based on what is on one file, it updates the second one. I don’t know what can be on the “source” XML, so the script needs to read everything from the source file and for each element; node, attribute, ect. Find it on the “destination” file and, if it exists update it, or create if it does not exists.

Thx

 

Nifa

 

Page 1 of 1 (1 items) | RSS
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.