Menu

#16 Remove class attribute and rename Element

v1.0 (example)
open
None
1
2018-04-18
2018-04-18
No

I have a list of objects that derive from a base class (Query) and when the list is serialized out each object has the base class name and an attribute of the derived class name:
Example
<queries>
<query class=""></query>
<query class="" "=""></query>
</queries>

Is there a way to get the element name to be just the derived classes name?
<queries>
< GetBulkQuery>
< GetQuery">
</queries>

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.