Hope this helps Have a simple form (only extract fields here) but for some reason the JQserilization is not working; looks fine in alert() but only the first form field gets posts. Suggestions please - thanks in advance , OK, tried a mix of, but eventually got this to work:
help you fix your problem XML serialization can't update an existing object, it always creates a new one when you deserialize. Since it's a new object, there isn't any handler for PropertyChanged yet, so the event isn't fired. It doesn't make sense to listen to the PropertyChanged event of an object that is being created. What are you trying to do exactly?
fixed the issue. Will look into that further All your properties are attributes, and the XmlSerializer will interpret them as elements unless you tell it otherwise. Add [XmlAttribute] attributes to each of your properties and it will work.
I wish this help you The second example can't work as you have conflicting positional and keyword arguments. The third I assume doesn't work since self.base is not an iterable. Have you tried only passing the instance as a positional argument?