PDA

View Full Version : Facing problem with XmlWriter



dungeondragon22
24 Nov 2009, 4:46 AM
Friends, i m new to this and facing problem with using XmlWriter.

Problem:

I am using the editable grid example and now i want to include XmlWriter into it..but this data should be stored in a variable of course in the xml format...but I am not able to do so......please help.:s

Thanx

Mike Robinson
24 Nov 2009, 8:21 AM
The purpose of the XmlWriter is simply to provide CRUD capability to its corresponding Store object, XmlStore.

The purpose of the entire set of objects is to communicate with a remote-host that expects to talk in XML (vs. JSON, et al) format. When a "writer" object is attached to a "store," the store will issue "create, update, destroy" requests in addition to "read." The reader and writer objects (along with others...) facilitate that process.

As far as I know, it is not devised to express a store's data content in XML format and write it to a variable, although I'm sure that you could divine how to do such a thing by studying the code.