milewise/node-soap — pull request #210 by evs-chris (2014-01-15 22:42:25+00:00)
Title: Add support for xml attributes in requests and responses

I have a few soap services that I access that require attributes instead of nested elements. This commit sets any field in an argument object that starts with '@' as an attribute on its parent element instead of as a nested element. It also makes any attributes that come back in response available in the response object.

I'm not positive that this is the best way to handle this, but it seemed much better than having a blessed name, like attrs, that may overlap with actual parameters.

In summary:
```javascript
client.someMethod({ name: 'value', '@attr': 'attrval' }, function(err, response) { });
```
has a body with
```xml
value
```
instead of the current (sans @)
```xml
attrvalvalue
```