Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Parse XMl files in folder to excel
Topic Summary:
Created On: 07/21/2015 08:26 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 07/21/2015 08:26 AM
User is offline View Users Profile Print this message

Author Icon
n00b (>6 posts)

Posts: 1
Joined: 07/21/2015

Hi all, Have had this for the longest and need to loop through folder/sub folders containing xml files and extract specific elements to excel file.  I have not touched this software in quite a while and I am very rusty.  any help would greatly be appreciated. I have included a sample xml file and the elements i will need are (user_name, created_date, target_file, target_path and duration)

 Category Survey
AutoMate 7 version: 7.1.3
Windows version: Windows 7

Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)
 07/27/2015 06:32 AM
User is offline View Users Profile Print this message

Author Icon
Alex Escalante

Posts: 871
Joined: 02/26/2014

Hello Sal,

We suggest looping through the folder containing the XML files, and creating a dataset for the xml files. Once you have the parameter for the xml file names, you can create a secondary loop within the first loop to extract the information requested (XML node to dataset) and write it to an excel file. Once the inner loop has written to the xml file, it will break back out to the main loop changing the xml file name, and once again processing it inside the second loop.

Please let us know if that works for you.

 Category Survey
AutoMate 7 version:
Windows version:


Alex Escalante | Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700 | F: +1.213.738.7665
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 6686 on 11/01/2020 at 01:24 AM.
There are currently 2875 guests browsing this forum, which makes a total of 2875 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2021 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog