added Namespace variants of newElement and setAttirbute
Merge pull request #9 from tauli/master

added Namespace variants of newElement and setAttirbute