> -----Original Message----- > From: Christoph Wilhelms [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 08, 2001 6:58 AM > > > There is no way to define a "context" in a DTD - an element "project" > > is a "project" element and its attribute list is defined exactly once. > > I'm not sure whether one can define a context-sensitive attribute list > > in XSchema.
Yes, there is a 'way'... use namespaces, but AFAIK, ANT doesn't *really* have a DTD. I think XSchema allows this, though. > > I do not now much about DTDs :-(, but isn't there a context because tags > are nested in other tags? Not when it comes to DTDs... element definitions are scoped to the namespace.
