Ketil Malde wrote:
>>> If so, how do you specify where foreign namespaces
>>> are legal? If the top-level DTD specifies -- and thus needs to know,
>>> in advance, the details about -- the sub-namespaces, then what's the
>>> point of namespaces at all?
> Well - I just found some links. A schema can contain import
> statements, basically #include'ing other schemas:
>http://lists.xml.org/archives/xml-dev/200211/msg00880.html> ...So for both Schema and DTD validation, you'd need to know in advance
> all the tags you'd like to use,
You can combine them using Schematron:
http://www.schematron.com/overview.html
It even allows you to mix validation languages,
e.g., DTD, XML Schema, Relax NG, etc.
-Yitz