Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Insert into Multiple XML Files (Same Schema)

Status
Not open for further replies.

spangeman

Programmer
Oct 16, 2004
96
EU
Hi There

We use XML configuration files in our VB6 application for holding things like connection strings, form titles etc.

This way each user can have their own XML file which is validated by the application against an XSD before it is processed.

This seems like a great idea until you add a new setting to the XSD schema and then have to amend every XML file with exactly the same text. At the moment I am having to open each XML file up in notepad and add on the necessary entries.

So my question is....

Is there a way to say -

Add the following elements to all XML files in this directory under this parent element.

I don't mind how it's done - a free application, XSLT, VB Code/script, C#

Cheers
Spangeman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top