[
Lists Home |
Date Index |
Thread Index
]
- From: David LeBlanc <whisper@accessone.com>
- To: xml-dev@ic.ac.uk
- Date: Tue, 26 Jan 1999 17:05:58 -0800
I have often thought that an important use of dtds (or schemas etc.) would
be/could be to include processing information about the documents that
conform to them.
What I mean is that an element declaration would have an attribute of type
(for example) "script" that would contain code that the receiving processor
(i.e. browser) could use to process the following document(s) in whatever
way that was desired, not just for stylistic/presentation purposes. I
actually thought that was why XSL included the script/ecmascript construct
in the first place.
This might imply a definition cache as well where the latest "document
definition" (however specified) would be kept.
Another question: is it possible, using the existing standards, for a dtd
or document to infer the existance of more then one document definition? It
would be interesting to create families/hierarchies of document definitions
usable for different purposes (perhaps through an inheritance mechanism?).
Thus, I could have a root document definition "MyDocDef" and derived
document definitions "MyDocDef-Process", "MydocDef-Transform-HTML"
(implying a root "MyDocDef-Transform" rooted on "MyDocDef") and
"MyDocDef-Style". (Maybe architectural forms is an approach to this?)
Sorry if i'm reinventing the wheel here...
Thoughts or comments anyone?
Sincerely,
Dave LeBlanc
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|