Just found out that Microsoft actually had the foresight to support the following scenario:
/// <summary>
/// Gets the unknown elements as a <see cref="List{XElement}"/>.
/// </summary>
[XmlAnyElement]
public List<XElement> UnknownElements
{
get;
set;
}
Fantastic (undocumented) news.
One Trackback
[...] http://jonathan.dickinsons.co.za/blog/2009/08/xlinq-serialization/ [...]