Is it possible to serialize xml document in C# to produce such tags
...
<myTag attr="tag">
this is text
<a href="http://yaplex.com">link in the same element</a>
</myTag>
...
The only one way I found is have content of myTag as string
myTag.Value = "text <a ...>link</a>";
but I want to have it as object in C#, so a-tag will be an object