ZVON > References > Relax NG Reference

Element: choice

Go to standard
Attributes: datatypeLibrary | ns |
Children: <name-class> ( name, anyName, nsName, choice ) | <other> | <pattern> ( element, attribute*, group*, interleave*, choice, optional, zeroOrMore, oneOrMore*, list*, mixed, ref*, parentRef, empty*, text*, value*, data*, notAllowed, externalRef, grammar ) |
Parents: attribute | choice | define | element | except | group | interleave | list | mixed | oneOrMore | optional | start | zeroOrMore |

<element name="choice">
     <ref name="common-atts"/>
     <ref name="open-patterns"/>
</element>
<element name="choice">
     <ref name="common-atts"/>
     <ref name="open-name-classes"/>
</element>

Associated examples in Example repository.


Occurs in Schema Tutorial examples:
Document root element can be from a set of namespaces
Element which contains one of two elements
Element which contains two "patterns" (sequences), in any order
Multiple restrictions
Element is either a fixed string or an integer
Element can contain a string from an enumerated set
Element can have [x,y] either as attributes or as elements
Attributes from some particular namespace
Abstract element, substitutionGroup
Extension of a choice
Error in restriction - namespaces in wildcards




_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet




Related sites:
  • dotNet Slackers - Your latest resource for ASP.NET
  • Dotnet Spider - Outsourcing and Offshore software development in India
  • XML - Xselerator, XSL Editor, BizTalk Utilities, XML Tutorials, Learn XML
  • Planet Source Code - The largest public source code database on the Internet
UNLIMITED Web Hosting by HostDepartment Alojamiento Web UK Domain Names glossary for conference call answering service
MSN VoIP Internettelefonie Hosted Exchange, SDSL VoIP Internettelefonie AT VoIP Internettelefonie DE