XML 2003 logo

Object Oriented Programming Using XSD and XSLT

Abstract

Object Oriented type hierarchies have existed in XML Schema languages for several years now, but have not been exploited by native XML systems, like XSLT. We demonstrate a "poor man's" implementation of the element() function from XSLT2 implemented over Xerces. We then proceed to demonstrate a variety of Object Oriented programming patterns, including message passing and polymorphism. We also point out some ways that XSLT2 could better support this programming style.

Keywords