Rust serialization to xml

Hi everyone !,

I'm trying to create some soap xml data, but I can't find starting point how to start this.
It seems that there is no serde_json equivalent for xml :confused:
All serde examples I can find are json serialization. Nothing about Struct->XML
serde_xml crate doesn't have serialization support.
I can't believe that Rust lack basic xml serialization support - I'm pretty sure my google skills are the reason :slight_smile:

Can someone give be some references how to create struct that after serialization gives me following very simple xml string:
I can't even find example for struct to xml serialization ..

<?xml version="1.0" encoding="UTF-8"?>
	 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:os="os.xsd.v1">
    	 <soapenv:Header>
    	 < os:OS_Header/>
	   </soapenv:Header>
	 <soapenv:Body></soapenv:Body>
<soapenv:Envelope>

I took me 15 minutes to make this in Go, due to its standard library xml support, but I really want to have this library in Rust so I can use it as FFI.

P.S Serde documentation about xml sucks .. :-/

Serialization support is being worked on in RReverser/serde-xml-rs#8. Check it out and give your feedback to the PR author.

I filed RReverser/serde-xml-rs#27 to follow up on documentation. I'm sure they would love help if you have time!