DocumentCode
1967263
Title
Taming XML: Objects first, then markup
Author
Bone, Matt ; Nabicht, Peter F. ; Laufer, Konstantin ; Thiruvathukal, George K.
Author_Institution
Dept. of Comput. Sci., Loyola Univ. Chicago, Chicago, IL
fYear
2008
fDate
18-20 May 2008
Firstpage
488
Lastpage
493
Abstract
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 XML elements using class metadata. Both types of object trees can be inflated and deflated by means of a common intermediate representation in the form of an event stream. Finally, the framework includes the XML Intermediate Representation (XIR), a lossless record-oriented representation of XML documents for efficient streaming and other types of data exchange.
Keywords
XML; meta data; object-oriented languages; tree data structures; XML document; XML intermediate representation; common intermediate representation; data exchange; lossless record-oriented representation; meta data; object trees; object-oriented language; Bones; Computer science; Data structures; Grounding; Laboratories; Object oriented modeling; Programming profession; Tree data structures; Writing; XML;
fLanguage
English
Publisher
ieee
Conference_Titel
Electro/Information Technology, 2008. EIT 2008. IEEE International Conference on
Conference_Location
Ames, IA
Print_ISBN
978-1-4244-2029-2
Electronic_ISBN
978-1-4244-2030-8
Type
conf
DOI
10.1109/EIT.2008.4554352
Filename
4554352
Link To Document