EDN Admin
Well-known member
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
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