Creating a Xml file from a VB class(XmlSerializer)

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello,
I want to make a xml file from vb class(ton of public property as string in it)
When I serialize it with XmlSerializer, it make a file like this :
"<?xml version.....?>
<NameOfMyClass ....>
<OneOfMyProperty>PropertyValue</OneOfMyProperty>
...
</NameOfMyClass>"

But instead of "<OneOfMyProperty>" Id like <Data name="OneOfMyProperty" value="PropertyValue" />"
Is there a simple way to do that ?
Thanks

View the full article
 
Back
Top