Updates to XML package

- New snippet for attribute added.
- Updates in syntax.
- Fixed broken mapping in config.
Cleanup in Java's syntax