UNIX for Dummies Questions & Answers

This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

Iterate/Loop Through XML Node List


 

 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-04-2012
bradlecat bradlecat is offline
Registered User
 
Join Date: Oct 2011
Last Activity: 5 June 2012, 6:46 PM EDT
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Question Iterate/Loop Through XML Node List

I need to load an XML file and loop through a list of nodes in it to execute a shell script for each one using the attributes for each node as parameters for the script. Any ideas? Any help will be much appreciated.
Sponsored Links
    #2  
Old 06-05-2012
sdf sdf is offline
Registered User
 
Join Date: Jun 2011
Last Activity: 15 October 2015, 9:41 AM EDT
Location: +49░ 59' 55.69", +8░ 16' 27.69"
Posts: 118
Thanks: 44
Thanked 5 Times in 5 Posts
Quote:
Originally Posted by bradlecat View Post
I need to load an XML file and loop through a list of nodes in it to execute a shell script for each one using the attributes for each node as parameters for the script. Any ideas? Any help will be much appreciated.
Post an example of such a .XML file.
Sponsored Links
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to loop(Iterate) through List with foreach(csh) eawedat Shell Programming and Scripting 2 08-25-2011 06:12 PM
how do edit a node in a singly linked list in C? omega666 Programming 3 04-06-2011 12:12 PM
iterate through list of numbers and print specific lines with awk euval Shell Programming and Scripting 4 09-17-2010 09:47 AM
Linear linked list node delete rupeshkp728 Programming 13 08-20-2010 02:43 PM
linked list node with pointer to struct Luke Bonham Programming 4 05-31-2010 05:27 AM



All times are GMT -4. The time now is 06:54 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?