How can i create a line like this:
<ATTRIBUTE type="Size"><![CDATA["One Size"]]></ATTRIBUTE>
I dont know how create the type and CData. Currently I have the following classes:
public class ATTRIBUTES { public ATTRIBUTE ATTRIBUTE; } public class ATTRIBUTE { public string ATTR { get; set; } }I need to end up with something like the following.
<ATTRIBUTES><ATTRIBUTE type="Colour"><![CDATA["Black"]]></ATTRIBUTE><ATTRIBUTE type="Size"><![CDATA["One Size"]]></ATTRIBUTE></ATTRIBUTES>
Thanks