h t t p : / / w w w . t e c k i e s . c o m / f i l e s |
|
XML Mother or Son of HTML? by Vix! November 20, 1999 Click, Laugh and Enjoy @ www.sallini.com What is XML? XML is the "eXtensible Markup Language". It is a metalanguage. By metalanguage we mean a language that allows us to define our own markup language. We say
extensible because it allows us to extend SGML (which is
the mother of all metalanguages) and because it is not
limited to a certain number of tags like HTML. XML is
designed to make it easy and straightforward to use SGML
on the Web. By achieving that, it will be easy to define
document types and easy to transmit and share them across
the Web. The goal is to enable SGML to be served and
available on the Web in the way that it is now possible
with HTML. In order to
understand the difference we must understand first what
is SGML. XML is important for two reasons:
"To
make SGML simpler, XML redefines some of SGML's
internal values and parameters, and removes a large
number of the more complex and sometimes less-used
features which made it harder to write processing
programs. But, it retains all of SGML's structural
abilities that allow you to define your own document type."
(World Wide Web Consortium, W3C)
What does an XML document look like? The basic
structure is very similar to HTML. XML documents can be very
simple: A new
Extensible Style Language (XSL) is being proposed for use
specifically with XML. The main job of XSL will
be to define how each tag will be displayed inside the
browser.
This will offer another advantage of using XML. Authors
will be able to work independently from designers. In
other words, the author will write the XML file using his
own descriptive tags, and the designer will write the XSL file defining the way
each tag will be displayed. Not yet!
XML is still under development, but there are already
some pilot browsers, such as Internet Explorer 4.0 (Netscape will
support XML in its 4.5 version), that support this language, so you can
experiment with them. Few months later, when the
specification is complete, more software should start to
appear and you |