Chapter 5: Advanced XML Schema Development

Download CD Content


In This Chapter

  • Examining XML namespaces in detail

  • Modularizing your XML Schema

  • Working with object-oriented XML Schema design

  • Using XML Schema with relational databases

The objective of the XML Schema specification was to address modern-day software development challenges. These challenges include maximizing a software application’s flexibility in order to handle large-scale applications and providing the capability for new software applications to thrive along side modern software-development practices currently dominated by the object-oriented programming methodologies and the use of relational databases as a primary storage facility. In this chapter, I show you how to make the most of your XML Schemas through the presentation of various advanced topics and XML Schema constructs that were designed to enable your XML Schema to take on the above-mentioned challenges. Having spent time in Chapter 4 covering the basics of XML Schema design and the use of XML Schemas for document validation, you are ready to start tackling these issues head-on.

In Chapter 4, I introduced all the basic XML Schema constructs. I walked you through building an XML Schema using the XMLSPY Schema Editor, and then I showed you how to use the Schema for editing and validating instance documents. This chapter builds substantially on those earlier concepts, beginning with a more detailed discussion of XML namespaces and including several advanced examples. I cover the more advanced Schema constructs that serve to provide additional design flexibility and modularity in XML Schema development. These include the ability to name and reuse fragments of XML Schema code, as well as mechanisms for deriving types from existing types and much more.

In this chapter, I also help you examine options for implementing data constructs expressed in XML Schema using a programming language such as C++ or Java. In addition, I show you how to use an XML Schema in conjunction with relational databases. Specifically, you find out how XML Schema is being applied by vendors such as Oracle and Microsoft to bridge the gap between relational databases and XML technologies. Get ready to push your XML Schema development skills to the limits with XMLSPY!

The XMLSPY Handbook
The Official XMLSPY Handbook
ISBN: 764549642
EAN: 2147483647
Year: 2001
Pages: 121
Authors: Larry Kim © 2008-2017.
If you may any questions please contact us: