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
$xmlDoc.Load($FilePath)
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.
sinhaa
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.