This sample demonstrates reading and writing XML documents from a build, and accessing a web service via the Microsoft SOAP toolkit.Repeat some steps once for each line of a file. This could also be used to build the steps once for each record in a database, an XML document, etc.Process XML config data-1UTF-8%WRITE_XML_FILE%Local8.0.507272.0{D003DF9E-542D-4F26-8670-A62FCB59EE6C}DebugAnyCPUAPP.ICOAdminConsoleJScriptGridIE50falseWinExeManagementConsole.AdminOnBuildSuccessSAKSAKSAKSAK..\..\..\..\NetBin\false285212672falseDEBUG;TRACEtrue4096falsefalsefalsefalsefalse4fullprompt..\..\..\..\NetBin\false285212672falseTRACEtrue4096falsetruefalsefalsefalse4fullpromptSystemSystem.DataSystem.DrawingSystem.Windows.FormsSystem.XMLFormCodeAdminParent.cs]]>
Create an XML file with configuration data1Gen XML file-1-1%WRITE_XML_FILE%-1msbuildhttp://schemas.microsoft.com/developer/msbuild/200300-1msbuild:Project//msbuild:PropertyGroup[[@Condition]]1Read XML4%READ_XML_VALUE%1Process each nodeVBScriptPopulate temporary macros with XML element's attributes2??? - how to get an individual PropertyGroup node?-1-1-1%WRITE_XML_FILE%-1msbuildhttp://schemas.microsoft.com/developer/msbuild/200300-1x86-1msbuild:Project//msbuild:PropertyGroup[[@Condition]]/TargetPlatform2Write XMLNamespaces%WRITE_XML_FILE%The Tempest15.95The Brothers Karamazov23.50Creepy Crawlies22.95
]]>Create a sample config file with values of 'blah'1Create XML fileLog the file contents with new values1Show original file-1%WRITE_XML_FILE%015.05/BOOKS/BOOK/PRICE1Update elem (no namespace)currency-1%WRITE_XML_FILE%0Yen/BOOKS/BOOK/PRICE1Update attr (no namespace)-1%WRITE_XML_FILE%0bkbook23.00/BOOKS/bk:BOOK/bk:PRICE1Update elem (default namespace)bk:currency-1%WRITE_XML_FILE%0bkbookEuro/BOOKS/bk:BOOK/bk:PRICE1Update attr (default namespace)-1%WRITE_XML_FILE%0bkmoneybook2money14.95/BOOKS/bk:BOOK/bk:PRICE1Update elem (named namespace)money:currency-1%WRITE_XML_FILE%0bkmoneybook2moneyDollar/BOOKS/bk:BOOK/bk:PRICE1Update attr (named namespace)Display the macro value1Read valuesLog the file contents with new values1Show updated file%PROJDIR%\RegEdit.bld%TEMP%\test.xml