XML data binding: Difference between revisions

Content deleted Content added
Added {{sections}} and {{unreferenced}} tags to article (TW)
BG19bot (talk | contribs)
m Remove blank line(s) between list items per WP:LISTGAP to fix an accessibility issue for users of screen readers. Do WP:GENFIXES and cleanup if needed. Discuss this at Wikipedia talk:WikiProject Accessibility#LISTGAP
Line 1:
{{Multiple issues|
{{sections|date=June 2015}}
{{unreferenced|date=June 2015}}
}}
 
'''XML data binding''' refers to a means of representing information in an [[XML]] document as a [[business object]] in computer memory. This allows [[Application software|applications]] to access the data in the XML from the object rather than using the [[Document Object Model|DOM]] or [[Simple API for XML|SAX]] to retrieve the data from a direct representation of the XML itself.
 
An XML data binder accomplishes this by automatically creating a mapping between elements of the [[XML schema]] of the document we wish to bind and [[Instance variable|members]] of a [[Class (computer science)|class]] to be represented in memory.
 
When this process is applied to convert an XML document to an object, it is called [[Serialization|unmarshalling]]. The reverse process, to serialize an object as XML, is called [[marshalling (computer science)|marshalling]].
Line 23 ⟶ 26:
*[[JSON]]
*[[LDX+]]
 
*[[Serialization]]
*[[YAML]]