Open Access. Powered by Scholars. Published by Universities.®

Physical Sciences and Mathematics Commons

Open Access. Powered by Scholars. Published by Universities.®

Loyola University Chicago

Computer Science: Faculty Publications and Other Works

2008

Data binding

Articles 1 - 1 of 1

Full-Text Articles in Physical Sciences and Mathematics

Taming Xml: Objects First, Then Markup, Matt Bone, Peter Nabicht, Konstantin Läufer, George K. Thiruvathukal May 2008

Taming Xml: Objects First, Then Markup, Matt Bone, Peter Nabicht, Konstantin Läufer, George K. Thiruvathukal

Computer Science: Faculty Publications and Other Works

Processing markup in object-oriented languages often requires the programmer to focus on the objects generating the markup rather than the more pertinent domain objects. The BetterXML framework aims to improve this situation by allowing the programmer to develop a domain-specific object model as usual and later bind this model to preexisting or newly generated markup. To this end, the framework provides two types of object trees, XElement and NaturalXML, for representing XML documents. XElement goes beyond DOM-like automatic parsing of XML by supporting the custom mapping of elements to domain objects; NaturalXML allows the mapping of existing domain objects to …