• Subject: Re: XML
  • From: "Roger Pence" <rp@xxxxxxxxxxxxxx>
  • Date: Thu, 30 Sep 1999 12:04:36 -0500

> What is XML, i've heard about it, but not about what it is and can do.

XML is a follow-on technology to HTML. However, where HTML is designed to
simply broadcast marked up text, XML defines and stores data. Unlike HTML,
which uses a fixed, standard set of tags (ie, </Head>,</Body>, and </Table>)
XML uses user-defined, document-specific tags. These tags are defined in a
separate document called a DTD (Document Type Declaration). Think of DTD as
a DDS member describing the "fields" in an XML document. When used in
conjunction with a DTD, a browser (with native or snapped in XML support)
can then read and use the XML document.

A tiny example of an XML document fragment is shown below. This XML document
assumes a DTD is available that defines orders for a wholesale distributor.
A browser could use this document to update the order data for example, and
then pass this document on to another process for back-end database
updating. See http://www.w3.org/XML/ for more on XML.

As XML matures, the potential exists for it to become a platform-independent
method of describing data and passing that data around from platform to
platform. For example, with an XML standard firmly in place, and with an
appropriate DTD defined, CA/400 data transfer could transfer DB2/400 to and
from the AS/400 in XML format. With an XML-compliant version of MS Access,
using the same DTD, a seamless data transfer (keeping things such as data
types, decimal points, and date formatting intact) could be initiated using
the CA/400-generated XML.

<Orders>
    <Order>
        <OrderNumber>12363
        <OrderDate>06-02-1999
        <OrderDetail>
            <Item>
                    <ItemNumber>123
                    <ItemQty>2
            </Item>
            <Item>
                    <ItemNumber>345
                    <ItemQty>5
            </Item>
        </Detail>
    </Order>
    <Order>
        <OrderNumber>12365
        <OrderDate>06-03-1999
        <OrderDetail>
            <Item>
                    <ItemNumber>78
                    <ItemQty>21
            </Item>
            <Item>
                    <ItemNumber>1198
                    <ItemQty>6
            </Item>
        </Detail>
    </Order>
</Orders>







+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.