Abstract
With the analysis of XML schema definitions, this article presents a method of XML document defining, and improves the XML document definitions, which are simply inclusive and object-oriented, and proves the poor code quality, crosscut concerns scattering and expanding elements with modification. By comparison with different characteristics of object-oriented and aspect-oriented, the paper added the object-oriented and aspect-oriented definitions to the XML schema, and an aspect-oriented model based on object-oriented XML document was built. Adding aspect, pointcut and advice to the XML schema, and extending XML Schema with object-oriented features, this method can define and extend elements with multiple inheritances, blocking, overloading and weaving, and define signs and models to present the definitions of aspect-oriented model based on object-oriented XML document. The results show that it reduces the code redundance of the XML document definitions, and obtain better modularity and portability. There is no denying that this method is feasible in practical use.
Original language | English |
---|---|
Pages (from-to) | 673-676 |
Number of pages | 4 |
Journal | Shenyang Jianzhu Daxue Xuebao (Ziran Kexue Ban)/Journal of Shenyang Jianzhu University (Natural Science) |
Volume | 22 |
Issue number | 4 |
Publication status | Published - Jul 2006 |
Externally published | Yes |
Keywords
- Aspect-oriented
- Blocking
- Inheritance
- Object-oriented
- Overloading
- Weaving
- XML document