Re: XML - where's the beef?

Subject: Re: XML - where's the beef?
From: "Simon North" <north -at- synopsys -dot- COM>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Fri, 1 Jun 2001 15:57:43 +0200

I'm afraid Leslie and Scott are both wrong.

> That is an interesting interpretation of it. XML is not a standard for
> creating languages. It IS a markup language. As for HTML, it IS a
> subset of SGML. You cannot have an animal descended from a bird and
> call it a horse. It is still a bird.

XML is a set of rules for defining markup languages, just as SGML
is. Officially, XML is an application profile of SGML.

HTML is an SGML application, it is a markup language that
complies with SGMLs rules (it was never meant to be, but that's
another story).

XHTML is an XML application, it is a markup language that
complies with XMLs rules.

> So, if HTML is a specific document type, then its parent, SGML, is
> also a document type. So is XML. That is what the element <!DOCTYPE is
> declaring.

No, neither SGML nor XML are specific document types, but rather
an infinite classes of document types. HTML is a specific
document type in the same way that Microsoft Word is a C++
application. Needless to say, Microsoft Word is not C++, and
neither is SGML a document type.

The <!DOCTYPE statement is a document type declaration that
pioints to a document type declaration; a document (a DTD) that
obeys the rules that govern the application (SGML or XML) and
specify the markup language applicable for that document type.

I do hope this is clear enough ....

Simon North.


^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

*** Deva(tm) Tools for Dreamweaver and Deva(tm) Search ***
Build Contents, Indexes, and Search for Web Sites and Help Systems
Available now at http://www.devahelp.com or info -at- devahelp -dot- com

Sponsored by Cub Lea, specialist in low-cost outsourced development
and documentation. Overload and time-sensitive jobs at exceptional
rates. Unique free gifts for all visitors to http://www.cublea.com

---
You are currently subscribed to techwr-l as: archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit
http://www.raycomm.com/techwhirl/ for more resources and info.


Follow-Ups:

References:
Re: XML - where's the beef?: From: mpriestl
Re: XML - where's the beef?: From: Scott Turner

Previous by Author: Re: Problem controlling bookmarks display in generated PDF file
Next by Author: Re: How do I get a 'word count' for a FM book?...
Previous by Thread: Re: XML - where's the beef?
Next by Thread: Re: XML - where's the beef?


What this post helpful? Share it with friends and colleagues:


Sponsored Ads