[XMLBuilder] Added 'getAttribute' method
[XMLBuilder] Refactored removeElement