|
Subject: RE: Schema definition From: Siegfried Haag <Siegfried.Haag@xxxxxxxxxxxxxx> Date: Thu, 7 Oct 1999 12:59:52 +0100 |
Hi Eric,
DTD is not XML therefore not ideal for processing.
But its the most common way to describe XML-structure.
And its a short description of an XML tree.
XML-Schemas are common and implemented in a number of
XML-Parsers / APIs
DTD validation is also implemented widely
I thing a reasonable approch is the following:
1. describing the xml-structure with XML Schemas
these have enough possibilities to define elements
2. making the DTD out of XML Schemas with a XSL Stylesheet
if a software needs DTD or cannot manage XML Schemas then
lets use the generated DTD else use XML Schemas for
validating and giving information how data may be
processed
but these info is also in XML RPC which will supposely
become a standard
There are two different information for a doctype:
A) definition: datatypes, valid data (enumeration), element structure
ONE per datatype
B) info for processing and info for displaying (surface of application):
MANY per datatype
(and one for several datatypes, and one for 2 or more at a time,
that means in 1 processing step)
A) in form of DTD, X Schemas
B) in form of XSL, and XSLT
in form of XML RPC
Perhaps its a good idea to not mix up the two information types.
What do you all think about this ?
Kind regards
Siegfried Haag
Technical Consultant
SAG Systemhaus GmbH
Niederlassung Munchen
Elsenheimer Strasse 11
D-80687 Munchen
email: Siegfried.Haag@xxxxxxxxxxxxxx
tel: +49-89-54742-120
fax: +49-89-54742-199
mailto:Siegfried.Haag@xxxxxxxxxxxxxx
-----Original Message-----
From: Eric van der Vlist [SMTP:vdv@xxxxxxxxxxxx]
Sent: Donnerstag, 7. Oktober 1999 09:07
To: xsl-list
Subject: Schema definition
Hi,
I'd like to describe the structure of XML files (for several purposes
such as generation of HTML forms) and I am lost behind the different
directions to go :=(
I'd like to use a format which I can use through XSL-T which seems to
exclude using a "simple" DTD.
Searching in this list archive and on the web, I have found 3 tracks :
1) http://www.w3.org/People/Raggett/dtdgen/Docs/ looks like an
interesting but individual proposal.
2) DCD (http://www.w3.org/TR/NOTE-dcd) is a 1+ year old submission to
W3C for a "structural schema facility". Looks OK for what I'd like to
do, but is it being continued ?
3) XML Schema (http://www.w3.org/TR/xmlschema-1/) is a recent working
draft looking as a competitor for the 2 previous...
Can anyone help me to find the links and pros and cons between these 3
and/or share his experience in this area ?
Thanks
--
------------------------------------------------------------------------
Eric van der Vlist Dyomedea
http://www.dyomedea.com http://www.ducotede.com
------------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Schema definition, Eric van der Vlist | Thread | Re: Schema definition, Eric van der Vlist |
| Re: Q: XML+XSL transforms to a prin, James Tauber | Date | Re: select-distinct in for-each ?, Tangi Vass |
| Month |