XML file validation

Hi,

i am new to unix script.

i have two xml files. one is orderinfo.xml and another one is xsd file(EmailMessage.xml).
we need to compare the both file for poper nodes exists are not.

for example: <xsd:element name="EmailMessage"> tag in the EmailMessage.xml file(xsd sheet),this tag should
compare with orderinfo.xml file if exists then check below node "emailNotificationype" in both files.

Finally compare all tag with xsd file in orderinfo.xml file.

compare xsd file to orderinfo.xml for all tages it's followed same format or not.

Files attached. Please help me how to do.
:wall:

Thanks,
Murali

Can you help me out..

Bumping up posts or double posting is not permitted in these forums.

Please read the rules, which you agreed to when you registered, if you have not already done so.

You may receive an infraction for this. If so, don't worry, just try to follow the rules more carefully. The infraction will expire in the near future

Thank You.

The UNIX and Linux Forums.