This is a demo project to practice java
XPath :
//tagName[@attribute='value']
//tagName
//tagName[@attribute]
//*[@attribute='value']
//tagName/childTagName
//tagName//grandChildTagName
//tagName[contains(@attribute,'partialValue')]
(//tagName[@attribute='value'])[index]
//tagName[@attribute1='value1'][@attribute2='value2']