[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Define a root in a DTD
Hello, 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 http://www.xmlpatterns.com/categoryAllPatterns.shtml#DocumentRoots Radovan > Hello, > > I have few elements in a DTD and I want to explicity declare > one as the root > to > be used in XML, not the others, is there a way for that ? >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|