Closed

Description
i have a funny problem parsing COLLADA xml documents:
<skin source="#Cylinder_002-mesh">
<source id="Armature_JointBase_001-skin-joints"> .. </source>
</skin>
And i is not clear how the Rust code has to look to parse something like this.
My naive approach was something like this:
#[derive(Deserialize)]
pub struct Skin {
#[serde(rename = "source")]
pub sources: Vec<SkinSource>,
}
#[derive(Deserialize)]
pub enum SkinSource {
Source{id: String},
Attr(String),
}
But this did not work.