I need to extract the below items WorkflowName= Total="609" Passed="609" Failed="0" Skipped="0" Blocked="0" No sure if to use regex or xml module, I've starter in both in this context, kindly help me in this regard, Thanks Guru<workflows><workflow name="Generic Audio Driver Tests" id="8ff67565-79 +54-4a6c-84b4-6404af4a6357" owneralias="louiscl" featurepath="$\UX Pla +tform\Audio\Driver" jobid="60112"><result starttime="9/5/2012 7:43:37 + PM" executiontime="00:09:29.0354215" executionoutcome="Succeeded" te +stoutcome="Passed" /><testcases total="609" passed="609" failed="0" s +kipped="0" blocked="0" /><tasks><task name="Deploy Packages" id="975e +822e-c4de-4cfd-9748-7d08ff5cfee0"><result starttime="9/5/2012 7:43:37 + PM" executiontime="00:00:23.3509657" executionoutcome="Succeeded" /> +<outputdirectory><localpath>C:\Users\hivinod\TShell\Results\Submissio +n\0905-194337\8ff67565\975e822e\1</localpath><remotepath>\\BDCLAB-WM7 +-10\C$\Users\hivinod\TShell\Results\Submission\0905-194337\8ff67565\9 +75e822e\1</remotepath></outputdirectory><outputs><output filename="Mi +crosoft.Phone.Test.UXPlatform.AVCore.AudioCore.Driver_DeployTest.log" + fullpath="\\BDCLAB-WM7-10\C$\Users\hivinod\TShell\Results\Submission +\0905-194337\8ff67565\975e822e\1\Microsoft.Phone.Test.UXPlatform.AVCo +re.AudioCore.Driver_DeployTest.log" /></outputs></task><task name="Ex +ecute Test Harness" id="9a1f022d-dd77-48f8-b3a3-60d0c70e1594"><comman +dline>TestLauncher -b te.exe -w "C:\data\test\result" -la -a \Data\T +est\bin\gaudit_mc.dll /select:"not((@Name='*KSPROPERTY_PIN_NAME*')or +(@Name='*INVALIDVALUE_AUDIO_MUX_SOURCE')or(@Name='*2_CONNECTION_DATAF +ORMAT')or(@Name='*3_CONNECTION_DATAFORMAT')or(@Name='*CHANNELULONG*VO +LUMELEVEL'))" /enablewttlogging /outputFolder:\Data\Test\Result /logf +ile:results.wtl</commandline><workingdir>\Data</workingdir><result st +arttime="9/5/2012 7:44:00 PM" executiontime="00:09:05.5944478" execut +ionoutcome="Succeeded" testoutcome="Passed" /><testcases total="609" +passed="609" failed="0" skipped="0" blocked="0" /><outputdirectory><l +ocalpath>C:\Users\hivinod\TShell\Results\Submission\0905-194337\8ff67 +565\9a1f022d\1</localpath><remotepath>\\BDCLAB-WM7-10\C$\Users\hivino +d\TShell\Results\Submission\0905-194337\8ff67565\9a1f022d\1</remotepa +th></outputdirectory><outputs><output filename="results.wtl" fullpath +="\\BDCLAB-WM7-10\C$\Users\hivinod\TShell\Results\Submission\0905-194 +337\8ff67565\9a1f022d\1\results.wtl" /></outputs><analyses /></task>< +task name="Cleanup Dependencies" id="23e9c221-d748-49c3-9ee3-c6c3a313 +94b6"><result starttime="9/5/2012 7:53:06 PM" executiontime="00:00:00 +" executionoutcome="Succeeded" /></task></tasks></workflow>
In reply to XML Parsing by gvinu4u
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |