J
Just D.
All,
Is there any way to create a class from the XML file or at least to simplify
the process of the creation of the class knowing the XML file format, its
structure, etc.?
The idea is to use an XML file to transfer data between two (or more)
companies. I would not like to expose as our classes as the whole business
logic, but I need to create something like a intermediate class to
read/write the XML file with the appropriate data.This class I suppose can
be sent to our clients to use it in their apps to create the object and
write the XML file with the object data.
The way to create the class first and then serialize it into XML file is not
looking good because the class is complicated enough and has a few arrays
inside, these arrays can also have arrays and maybe I'm wrong but the whole
structure of this class is not looking good to go this way.
Ideas?
Just D.
Is there any way to create a class from the XML file or at least to simplify
the process of the creation of the class knowing the XML file format, its
structure, etc.?
The idea is to use an XML file to transfer data between two (or more)
companies. I would not like to expose as our classes as the whole business
logic, but I need to create something like a intermediate class to
read/write the XML file with the appropriate data.This class I suppose can
be sent to our clients to use it in their apps to create the object and
write the XML file with the object data.
The way to create the class first and then serialize it into XML file is not
looking good because the class is complicated enough and has a few arrays
inside, these arrays can also have arrays and maybe I'm wrong but the whole
structure of this class is not looking good to go this way.
Ideas?
Just D.