```
<Root>
    <Apple Clr="RedViolet">1</Apple>
    <Apple Clr="RedOrange">3</Apple>

    <AppleGroup Clr="Red">
        <Apple Clr="LightRed">4</Apple>
        <Apple Clr="DarkRed">12</Apple>   
        <Apple Clr="MediumRed">10</Apple>
    </AppleGroup>
    <AppleGroup Clr="Red">
        <Apple Clr="LightRed">4</Apple>
        <Apple Clr="DarkRed">12</Apple>   
        <Apple Clr="MediumRed">10</Apple>
    </AppleGroup>
</Root>

```

I have serialized a class before but only for simple and straight-forward class serialization only. I don't have any idea in this :(