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] Style, Substance and Typing in Schemas

On 11/10/11 16:51, Toby Considine wrote:
009201cc882d$9f341c00$dd9c5400$@gmail.com" type="cite">

Can you do a one-line substitution group like that, or is that assuming I have all the typing below…

 

‘Cause if I can, that’s pretty cool.

 

tc

 

Yes, if you don't declare a type but you do declare a substitution group then you effectively inherit the type of the referenced element declaration.  See how {type definition} is defined here:-

http://www.w3.org/TR/xmlschema-1/#declare-element

Chris.


[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