voxxit/opensrs — pull request #16 by Pavel1104 (2013-03-30 21:46:33+00:00)
Title: fix nesting errors in Nokogiri xml_processor

I do, as you write in the instructions (readme.rdoc)
```
OpenSRS::Server.xml_processor = :nokogiri

server_local = OpenSRS::Server.new(:server => "http://localhost:3000/opensrs",
:username => "username",
:password => "53cr3t",
:key => "c633be3170c7fb3fb29e2f99b84be2410" )

def get_some_action(some_index)
server_local.call(
:action => "action_name",
:object => "object_name",
:attributes => {
:some_index => some_index
}
)
end

get_some_action("578").request_xml
```
after this I get XML request like this:
```

0.9

XCP

action_name

object_name

578

```
But in my opinion it must be like this
```

0.9

XCP

action_name

object_name

578

```
if I change xml_processor to libxml
```
OpenSRS::Server.xml_processor = :libxml
```
I get correct xml request
```

0.9

XCP

action_name

object_name

578

```