2015-01-30 12:08 AM - edited 2015-01-30 12:20 AM
WFA can do (almost) anything you can require from an automation framework. Yes, It can parse XML file. XML support is available with both Perl and Powershell, but its way too powerful in a Powershell code and that's what I would recommend.
For powershell commands, you need to use the following in your command code.
$FilePath = "C:\mydir\my.xml"
[xml]$xmlDoc = New-Object system.Xml.XmlDocument
or even simpler:
[xml]$xmldoc = Get-Content -Path C:\mydir\my.xml
Now you have an XML object with data contents with you. Do whatever you want to with it.
Examples? If you have WFA 3.0 you can look at WfaConfig.psm1 located at WFA\PoSH\Modules\WFAWrapper.