Hi
I have a file similar to below
<filter>
<param id="xx">This is test</param>
<param id="yy">This is another test </param>
</filter>
I created classes as below
[XmlRoot("filter")]
public class Filter
{
[XmlElement("param", typeof(Param))]
Param [] params;
}
public class Param
{
[XmlAttribute("id")]
public string id;
}
All this is working fine. But I am not sure how to get the inner texts
from the Param element. How can I get it through serialization?
Please help.
Thanks in advance.