![]() |
|
|
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 |
| Validating XSL sheet data in Unix Data file | ravijunghare | UNIX for Dummies Questions & Answers | 1 | 11-07-2008 09:32 AM |
| Need Help for Adding Three new columns in existing file from fatching data from file | Sandeep_Malik | Shell Programming and Scripting | 36 | 09-17-2008 06:12 PM |
| Extracting data from text file based on configuration set in config file | suparnbector | Shell Programming and Scripting | 3 | 08-10-2007 03:25 AM |
| Post Shell programming: Question about source a file and read data from the file | ccwq | Shell Programming and Scripting | 3 | 08-04-2007 11:28 PM |
| Using loop reading a file,retrieving data from data base. | Sonu4lov | Shell Programming and Scripting | 1 | 01-19-2007 03:38 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
How To get the data from a tag in XML File
Hi
I have a XML file in which data is loaded from a relational table and the column names are tags in the xml file which is shown below. <State>UN</State><Zip/><CompanyName/><EmailAddress>FDF@gmail.COM</EmailAddress><PromoType>UNKNOWN</PromoType></Promotion></PromotionList<State>UN</State><Zip/><CompanyName/><EmailAddress>zd4946@gmail.com</EmailAddress> what I have to do is : have to check the data in between tags which are in bold is valid or not ... means have to check whether its a email address or not ... to check this i need to view the data in between those tags. and have to find the length of the data which is in between tag...means length of FDF@gmail.COM for this I need to get the data from the xml file whereever <EmailAddress></EmailAddress> tag is present. sorry if its already asked...i checked but i didnt get Exatly matching result for my requirement any help in this...Im doing this in korn shell Last edited by naughty21; 12-04-2008 at 01:51 PM.. |
| Bookmarks |
| Tags |
| data, search, shell script, shell scripting, tag, unix scripting, unix scripting basics, xml |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|