implementation of various XML Parsing using Java