Hive examples to process xml and json datasets

Hi,

How to processing xml and json datasets using Hive in cloudxlabs?

Regards,
Prasuna.