<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can WFA parse xml data ??? in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Can-WFA-parse-xml-data/m-p/99981#M17622</link>
    <description>&lt;P&gt;WFA can do (almost) anything you can require from an automation framework. &amp;nbsp;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For powershell commands, you need to use the following in your command code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$FilePath = "C:\mydir\my.xml"&lt;/P&gt;&lt;P&gt;[xml]$xmlDoc = New-Object system.Xml.XmlDocument&lt;BR /&gt;$xmlDoc.Load($FilePath)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or even simpler:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[xml]$xmldoc = Get-Content -Path C:\mydir\my.xml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now you have an XML object with data contents with you. Do whatever you want to with it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Examples? If you have WFA 3.0 you can look at WfaConfig.psm1 located at&amp;nbsp;WFA\PoSH\Modules\WFAWrapper.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jan 2015 08:20:12 GMT</pubDate>
    <dc:creator>sinhaa</dc:creator>
    <dc:date>2015-01-30T08:20:12Z</dc:date>
    <item>
      <title>Can WFA parse xml data ???</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Can-WFA-parse-xml-data/m-p/99977#M17621</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Can WFA parse and retrieve data from an XML file&lt;/STRONG&gt;&lt;/FONT&gt; ?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;if &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/FONT&gt; how please provide assistance on how to do that ...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:12:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Can-WFA-parse-xml-data/m-p/99977#M17621</guid>
      <dc:creator>Sudeep</dc:creator>
      <dc:date>2025-06-05T05:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can WFA parse xml data ???</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Can-WFA-parse-xml-data/m-p/99981#M17622</link>
      <description>&lt;P&gt;WFA can do (almost) anything you can require from an automation framework. &amp;nbsp;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For powershell commands, you need to use the following in your command code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$FilePath = "C:\mydir\my.xml"&lt;/P&gt;&lt;P&gt;[xml]$xmlDoc = New-Object system.Xml.XmlDocument&lt;BR /&gt;$xmlDoc.Load($FilePath)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or even simpler:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[xml]$xmldoc = Get-Content -Path C:\mydir\my.xml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now you have an XML object with data contents with you. Do whatever you want to with it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Examples? If you have WFA 3.0 you can look at WfaConfig.psm1 located at&amp;nbsp;WFA\PoSH\Modules\WFAWrapper.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2015 08:20:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Can-WFA-parse-xml-data/m-p/99981#M17622</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2015-01-30T08:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can WFA parse xml data ???</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Can-WFA-parse-xml-data/m-p/99988#M17626</link>
      <description>&lt;P&gt;thanks for the Reply sinhaa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ll definitely try it out n get back if i have any problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2015 09:39:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Can-WFA-parse-xml-data/m-p/99988#M17626</guid>
      <dc:creator>Sudeep</dc:creator>
      <dc:date>2015-01-30T09:39:37Z</dc:date>
    </item>
  </channel>
</rss>

