NOTE:
These slides have not been updated since 2003. They have been superseded by the book
Anders Møller and Michael Schwartzbach, February 2006 |
THE XML REVOLUTION - TECHNOLOGIES FOR THE FUTURE WEB |
As an unfortunate heritage from SGML, the header of an XML document may contain a document type declaration:
<?xml version="1.0"?> <!DOCTYPE greeting [ <!ELEMENT greeting (#PCDATA)> <!ATTLIST greeting style (big|small) "small"> <!ENTITY hi "Hello"> ]> <greeting> &hi; world! </greeting> |
This part can contain:
Unfortunately, they cannot always be ignored - all XML processors (even non-validating ones) are required to:
COPYRIGHT © 2000-2003 ANDERS MØLLER & MICHAEL I. SCHWARTZBACH |