Much easier to write with CSharp using XML Serialization and DeSerialization take a look at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/ frlrfSystemXmlSerialization.asp -martin ----- Original Message ----- From: "Hamza Zeen-Aldin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 08, 2004 9:43 AM Subject: [Nant-users] Reading XML file and replacing text
> I have and XML Config file for a C# application. There is a URL element > for SOAP remoting, there are multiple servers used for back up. How can > I replace all of the old URLs with a new URL that's in stored in another > XML file that has all of the server information. > > I tried using XMLPoke and XMLPeek, they work for specific elements but > how can I do it for all the instances of the URL string which belong to > different elements. > > Thanks, > Z > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users