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