Mixed content is not a good fit when trying to bind XML Elements and attributes to properties within a generated class. The dynamic nature of mixed content means that the order of the contained elements and embedded text needs to be preserved.
The end result is that compromises must be made when dealing with mixed content.
The Liquid Xml Objects generator has the setting 'MixedContentHandling' which offers 2 options for dealing with mixed content.
The mixed content flag is simply ignored on the xsd:element and xsd:complexType.
Pros:
Cons:
Each xsd:element and xsd:complexType that is marked as mixed is treated as an xs:any, this means that they will be treated as raw XML elements in the generated code, in C# they would be generated as the type System.Xml.Linq.XElement.
Pros:
Cons: