Skip to Content.
Sympa Menu

pcplantdb - Re: [pcplantdb] Formal Spec

pcplantdb@lists.ibiblio.org

Subject: pcplantdb

List archive

Chronological Thread  
  • From: "Lawrence F. London, Jr." <lfl@intrex.net>
  • To: Permaculture Plant Database <pcplantdb@lists.ibiblio.org>, permacultureinfo@lists.ibiblio.org
  • Cc:
  • Subject: Re: [pcplantdb] Formal Spec
  • Date: Thu, 10 Feb 2005 13:39:25 -0800

Richard Morris wrote:

Lawrence F. London, Jr. wrote:

John Schinnerer wrote:

IMO an XML DTD will be a part of formal specs - specifically, it will be the spec for XML markup to be used however we end up using XML markup in the project.



What is a DTD
And what is a schema (scheme, simply put?)


A DTD stands for Document Type Definition (or something like that)
they are used to specify whats allowed in an XML document and specify how it should be structured.

For example a DTD for HTML would list the allowed tags <p>, <b>, <h1> etc and where they could appear.

An XML Schema does a similar job, but has a slightly different emphesis.
Advantages are
* XML Schemas are extensible to future additions
* XML Schemas are richer and more useful than DTDs
* XML Schemas are written in XML
* XML Schemas support data types
* XML Schemas support namespaces
(stolen from http://www.w3schools.com/schema/schema_intro.asp)

Fantastic! Thanks, Rich. I'm beginning to understand this now (after a long
while).

I guess I should ask: How do you write a DTD: HTML, XML and what's involved
in writing an XML Schema?

Thanks,

LL

You also get Schema for databases which describe the structure of a database, i.e. the tables and fields in the tables.

Rich

_______________________________________________
pcplantdb mailing list
pcplantdb@lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/pcplantdb

--
L.F.London
lfl@intrex.net
http://market-farming.com
Market Farming Forum
http://lists.ibiblio.org/mailman/listinfo/marketfarming




Archive powered by MHonArc 2.6.24.

Top of Page