• What Makes Up an XML System
  • Chapter 3:  Details, Details




    Download 2,96 Mb.
    Pdf ko'rish
    bet54/131
    Sana14.05.2024
    Hajmi2,96 Mb.
    #232039
    1   ...   50   51   52   53   54   55   56   57   ...   131
    Bog'liq
    Ceponkus, Hoodbhoy - Applied XML - Toolkit for Programmers

    Chapter 3:
     Details, Details
    Overview
    In this chapter, we delve into the more technical aspects of XML. Although this chapter 
    introduces you to a lot of the XML jargon, it is not a replacement for reading the entire 
    specifications of XML 1.0 from the W3C. Our intention here is to prepare you for creating 
    XML documents. As we mentioned in 
    Chapters 1
    and 
    2
    , XML has the inherent goal of 
    representing information in a universal format so that it can easily be interchanged and 
    processed further. 
    Parts II
    and 
    III
    of this book address how to process the information 
    stored in XML documents. This chapter covers a description of the XML syntax with a 
    special emphasis on how to create an XML document. We had to deal with a lot of chicken-


    - 49 -
    and-egg situations; this chapter has some forward referencing to concepts. As a result, you 
    may want to skim through the whole chapter once before reading it in detail.
    What Makes Up an XML System?
    Every XML system is primarily concerned with processing information that is stored in a 
    standardized format. It doesn’t matter what the objective of the system is per se. We 
    talked extensively about the applications of XML in 
    Chapter 2
    and throughout all of the 
    applications, the underlying assumption for each has been that it is based on an XML 
    system.
    An XML system is composed of three generic parts and one unique part. In nontechnical 
    terms, they can be expressed as content, structural definition, conformity checking, and 
    customized application. The first three are the generic parts while the last, customized 
    application is unique to the objective of the system.
    Though we cannot anticipate the entire gamut of unique objectives that your XML system 
    will achieve, we can help you generate the first three parts of your system, which makes 
    the construction of the last part of your system less code intensive. Bringing things back 
    into technical terms, an XML system typically consists of the following:

    XML Document (content)

    XML Document Type Definition—DTD (structural definition; this is an optional part)

    XML Parser (conformity checker)

    XML Application (uses the output of the Parser to achieve your unique objectives)
    Figure 3.1 shows how these interrelate.

    Download 2,96 Mb.
    1   ...   50   51   52   53   54   55   56   57   ...   131




    Download 2,96 Mb.
    Pdf ko'rish