By Gio Wiederhold, 19 Jan 2000., rearranged 13 feb. 2003
On the web stuff will be read by a wide variety of people, who must be convinced that they will benefit from the reading effort. In traditional publishing the publisher may provisde an editor to help you. If you publish on the web, and don't have an editor, be extra careful. Keep in mind that you must help the readers and customers. Wrting for business and science is not the same as writing novels, where you can expose the truth gradually.
Earlier time: HTML: for document transmittal, varied presentation, hierarchically structured + links to other HTML, IMAGES, etc.; ordered
Tags provide metadata for presentation ( HTML intro). Problem: The nice-for-people presentation doesn't really define what is being represented. For business use we want web pages that can be processed automatically.
To the rescue: XML: for document processing, hierarchically structured + links, more; ordered (except for attributes)
Read more in XML intro.
Whereas the HTML tags are common to all HTML documents, the XML tags are domain dependent. Domains might be:
For each domain the allowable tags, and the structure in which they appera has to be defined. That is done in a Data Tag Definition (DTD). To indicate if alements are optional, or can be repeated they are labeled with characters used in Regular Expressions.
Important for formulating
Example:
(((S|s)ection|paragraph(s$) )*.)
matches all citations looking like
Section xx., section xx., paragraph xx., paragraphs xx.
By setting a marker for xx, those text can be retrieved for display ot processing. A regular language is capable, but not really user-friendly.
To look at an XML file it must be transformed, best to HTML. Examples are given in the XML description.
For instance an XML catlog with entries as <Product> <Name>Pencil </Name> <Quantity>12 </Quantity> <Price>1.50 </Price> <Weigtht>60 </Weight> <Color> yellow </Color> </Product>
ETC
Would be instructed through an XSL program to
for a U.S. customer divide the number by 32? and put oz. behind </Weight> <
Brief intro to XML.
0 Brief intro to RDS ADO [ASP, 25Feb 2000].
XSL information
See also the references.