XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] [XML Schema] Here's how to empower instance documentauthors to create their own root element

On Sun, 2012-10-14 at 12:58 +0000, Costello, Roger L. wrote:
> Hi Folks,
> 
> It is not necessary to declare a root element in your XML Schema.
[...]
> This is a powerful technique. The XML Schema is versatile since it can
> be repurposed for different things by instance document authors.

Can you give an example of why you might want to have documents that
have different names for a root element but otherwise use the same (XSD)
schema and have the same document structure?

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS