added some attributes and namespace related methods
Merge pull request #1 from arnaud-lb/attrs-and-ns

added some attributes and namespaces related methods