added two new functionalities :
- now possible to stay on the current node using '.'
- possible to extract html or outerHtml
updated the example