Using XML class Attributes, how to represent an XML tag with both inner text and attributes? Using XML class Attributes, how to represent an XML tag with both inner text and attributes? xml xml

Using XML class Attributes, how to represent an XML tag with both inner text and attributes?


Use [XmlText] to describe the inner text content.

public class CurrentCondition{    [XmlAttribute("iconUrl")    public string IconUrl { get; set; }    // Representation of Inner Text:    [XmlText]    public string ConditionValue { get; set; }}