Declarative constraints for XML documents

Kurt Donath kurt.donath at
Wed Aug 18 14:40:44 BST 1999

I'm not sure that XSL is the place to enforce constraints since it's for
style.  Constraints also probably shouldn't live in the XML document
since they don't participate in the information space, but act upon it. 
Perhaps, in the same way that a document points to a schema and a style
sheet, there should be a pointer to a set of methods that would describe
these constraints or any other operations.

"Arnold, Curt" wrote:
> A couple of options occured to me:
> 1) Typical procedural validation in a traditional language like VB or Java
> 2) XSL that would produce an exception report in XML or HTML
> 3) A combination of XSL pattern matching and procedural fragments written in
> Java, VBScript, or JavaScript.


Kurt Donath
Staff Systems Engineer
.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
                   Lockheed Martin - Enterprise Information Systems
                                      Systems Engineering / Webserv

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list