Add parser to be able to parse basic xpath that consist of only '/'

Add function to parse the [index]