I need to write an XML document, that other users can work with to change
values and to add elements.
My problem is that for each element that me or any other user will add,
should have some kind of attribute (or any other solution...) to indicate its
type, this type is a variable type to be used in my code (Int32, double,
byte, string etc.).
I need it so when I'm reading the XML by code (DOM parser), I will be able
to know the type of the variable that I have just read from the XML file.
I don't know a way to do it without an XSD file. But I can not use XSD
because it will prevent me to add new elements to the XML of the type I
wishes as it is not present in the XSD.
Does anyone now how to do so?
--
Thanks
Sharon