I am using XML serialization to convert my C# structure to
a xml file. The file is in GML format. some element name
has ":" inside. For example, one element name
call "gml:coordinates".
The way I did is define an element name before I difine my
public property:
<XmlElement(elementName:="gml:coordinates")> _
Public Property CoordString() As String
Get
Return m_Coords
End Get
Set(ByVal Value As String)
m_Coords = Value
End Set
End Property
After the xml file was generated, I found that the element
name became "gml_x003A_coordinates" instead
of "gml:coordinates".
How do I solve this problem?
Thanks a lot.
Linda chen