#1
|
|||
|
|||
Read nodes from an XML file
I have an XML file like:
<?xml version="1.0"?> <log> <logentry revision="28617"> <author>John Doe</author> <date>2007-08-21T13:51:44.617641Z</date> <paths> <path action="M">/sources/trunk/Controls/Grids/MyGrid.cs</path> <path action="A">/sources/trunk/3rdPartyLibs/Infragistics/Infragistics2.Win.UltraWinGrid.ExcelExport.v7.1.xm l</path> <path action="M">/sources/trunk/MyProj/Pro.csproj</path> </paths> <msg>Issue: Fixed some error...</msg> </logentry> <logentry revision="28618"> <author>me</author> <date>2007-08-21T14:11:50.500926Z</date> <paths> <path action="M">/sources/trunk/Exchange/Server/Triggers/TriggerProvider.cs</path> <path action="M">/sources/trunk/Exchange/Server/OrderControllers/OrderControler.cs</path> <path action="M">/sources/trunk/Exchange/Server/Sessions/Wrapper.cs</path> </paths> <msg>Issue: Removed Trigger</msg> </log> I need to read all the paths <path> and to put them in a text file line by line. Any idea how I can do this in VBP? I looked at the sample XML.bld but there is a different parsing ,for attributes,I did not succed to pars it the way I need... Thanks for any help |
|
|