![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Perl parsing compared to Ksh parsing | popeye | Shell Programming and Scripting | 1 | 08-06-2008 11:46 PM |
| XML Log Parsing | pk_eee | Shell Programming and Scripting | 3 | 07-25-2008 01:18 PM |
| awk sed parsing | Darsh | Shell Programming and Scripting | 3 | 03-12-2008 12:31 PM |
| parsing | tungaw2004 | UNIX for Dummies Questions & Answers | 15 | 03-27-2007 09:33 PM |
| parsing xml | walnut | Shell Programming and Scripting | 1 | 02-21-2006 05:32 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi,
Need a script to parse the following xml file content <tag1 Name="val1"> <abc Name="key"/> <abc Name="pass">*********</abc> </tag1> <tag2 Name="Core"> <Host Name="a.b.c"> <tag1 Name="abc"> <abc Name="ac">None</abc> <abc Name="as">None</abc> <tag1 Name="pkg"> <tag1 Name="one"> <tag1 Name="two"> <abc Name="Version">1.3</abc > <abc Name="Status">installed</abc > <abc Name="InstalledName">two</abc > </tag1 > </tag1 > </tag1 > <abc Name="SystemType">SunOS</abc > </tag1 > </Host> </tag2> I can have multiple entries of Host tag so i need to search for a host with a given value and then get the attribute "ac" for a tag "abc" for the given Host Thanks in advance. Mavericc |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|