R
Romain TAILLANDIER
Hi group
I read XML data which i sometime can't know their type. But i have to show
the property in a property grid.
for example i get the following xml :
I can't have the declaration of UnknownClass, so i can't cast it in a known
type at the deserialization time. So i can't create an instance of the
object and can't show its properties.
But i am quite sure it is possible to create some object using the XML
definition, and dynamically re-create a basic structure that match the
properties, in order to juste show it in the property grid. but how can i do
that or workaroud it ?
i have googled for that and can't find any sample to deserialize unknown
data.
Please help.
ROM
I read XML data which i sometime can't know their type. But i have to show
the property in a property grid.
for example i get the following xml :
</UnknownClass>
I can't have the declaration of UnknownClass, so i can't cast it in a known
type at the deserialization time. So i can't create an instance of the
object and can't show its properties.
But i am quite sure it is possible to create some object using the XML
definition, and dynamically re-create a basic structure that match the
properties, in order to juste show it in the property grid. but how can i do
that or workaroud it ?
i have googled for that and can't find any sample to deserialize unknown
data.
Please help.
ROM