parse xml recursive
-
how to parse xml recursive and search file name based on directory and search criteria
<FileSystem>
<Drives>
<Drive name="C:">
<Folder name="data">
<Folder name="CSLogs">
<Folder name="Applications">
<Folder name="Citrix">
<Folder name="XenDesktop Installer">
<Folder name="MSI Log Files">
<File Name="BrokerAgent_x64311392187.txt" />
<File Name="CitrixCse_x641365171634.txt" />
<File Name="DirectorVDAplugin_x64276896625.txt" />
<File Name="IcaWS_x64397216209.txt" />
<File Name="MachineIdentityServiceAgent_x64492650649.txt" />
<File Name="MachineManagementProvider_x64407826716.txt" />
<File Name="personalvDisk_x64359317401.txt" />
<File Name="profilemgt_x641717284940.txt" />
<File Name="PzAppV_VDA_x641126819295.txt" />
<File Name="UpsClient_x641677360187.txt" />
<File Name="VdaMonitorPlugin_x64958367608.txt" />
<File Name="WMIProxy_x64801526517.txt" />
</Folder>
<File Name="XenDesktop Installation.log" />
</Folder>
<File Name="23157CIXXenDesktopVirtFx_Popup.log" />
<File Name="FixPolicyCorruption.ps1.log" />
</Folder>
<Folder name="CTXReceiverInstallLogs">
<File Name="CtxInstall-AuthManager-20151202-051652.log" />
<File Name="CtxInstall-CitrixHDXMediaStreamForFlash-ClientInstall-20151202-051652.log" />
<File Name="CtxInstall-CitrixReceiverUpdater-User-20151202-051652.log" />
<File Name="CtxInstall-DesktopViewer-20151202-051652.log" />
<File Name="CtxInstall-GenericUSB-20151202-051652.log" />
<File Name="CtxInstall-ICAWebWrapper-20151202-051652.log" />
<File Name="CtxInstall-RIInstaller-20151202-051651.log" />
<File Name="CtxInstall-SelfServicePlugin-20151202-051652.log" />
<File Name="CtxInstall-SSONWrapper-20151202-051652.log" />
<File Name="CtxInstall-Vd3dClient-20151202-051652.log" />
<File Name="Tro