Subject: Re: [xsl] Request help in understanding: node instance of schema-element(node) From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 28 Jan 2008 16:23:40 -0500 |
In my experience, schemas (of whatever variety) have been used for two purposes, which have historically been joined at the hip, but which are actually quite distinct.
One is "validation", which is to say, determine whether a document or parts of a document conform to an expected or required type. ("Schema as gauge.")
The other is for type annotation or even for binding of XML data (which natively takes the form of sequences of characters) to data types. ("Schema as jig.")
I would also add to that "Schema as template", where a Schema is used to provide guidance to an author (especially when using a Schema-aware editor). For example, you may not care about document order for validation or binding, but you might impose an order for authoring, just because human editors often work better with a "template" where each data item is in a known location relative to other data items.
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Request help in understan, Anthony B. Coates (X | Thread | Re: [xsl] Request help in understan, Eliot Kimber |
Re: [xsl] Request help in understan, Eliot Kimber | Date | Re: [xsl] Request help in understan, Wendell Piez |
Month |