[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Define a root in a DTD
- From: Radovan Chytracek <Radovan.Chytracek@cern.ch>
- To: firstname.lastname@example.org
- Date: Tue, 26 Jun 2001 16:20:41 +0200
I'm not sure you can do that using a DTD. In DTD all the XML elements
declarations are in a "global" scope, it means that virtually any of them can
be used as a root element in an instance XML document according to the DTD.
XML Schema allows you to define "local" elements to get this effect.
But you can give a try the XML Patterns at
> I have few elements in a DTD and I want to explicity declare
> one as the root
> be used in XML, not the others, is there a way for that ?