I've got a snake game with three objects: apple, pear & orange. I would like these to be associated with questions which I'm trying to create in XML. This is what I've done so far...
<?xml version="1.0" encoding="utf-8" ?>
<XnaContent>
<Asset Type="System.Collections.Generic.List[System.String]">
<MathsQuiz>
<Question Value ="What is 3 x 3? Orange = 9, Pear = 10, Apple = 12" Right ="orange">
<answer Value ="orange"/>
<answer Value ="pear"/>
<answer Value ="apple"/>
</Question>
</MathsQuiz>
</Asset>
</XnaContent>
I'm getting the error: "Error There was an error while deserializing intermediate XML. 'Element' is an invalid XmlNodeType. Line 7, position 6."
I'm guessing it's because of the line MathsQuiz but not sure.
Any help is much appreciated!
Thanks, Tom