Minimize the size of XML files

embomogrealry

New Member
I have a client/server application where data is exchanged in XML format. The size of data comes to around 50MB, most of which comprises of the XML tags themselves. Is there a way to take the generated XML and index the node names as follows:\[code\]<User><Assessments><Assessment ID="1" Name="some name" /></Assessments></User>\[/code\]to:\[code\]<A><B><C ID="1" Name="some name" /></B></A>\[/code\]This would save an incredible amount of bloat.EDIT
This data is serialized from Entity Framework objects. The reason for choosing XML as the protocol was intrinsic support in .NET and smart code generation of FromXml and ToXml for entities to circumvent circular references.
 
Back
Top