Example implementation for set/getAttribute

Node is already defined use NodeObj instead