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]
Do your XML Schemas or Relax NG schemas have recursive definitions?

Hi Folks,

Here are two examples of recursive definitions:

    <xsd:element name="Door">
          <xsd:complexType>
                <xsd:sequence>
                    <xsd:element ref="Door" minOccurs="0"/>
                </xsd:sequence>
          </xsd:complexType>
    </xsd:element>
    
    <xsd:complexType name="SectionType">
           <xsd:sequence>
                 <xsd:element name="Section" type="SectionType" minOccurs="0" />
           </xsd:sequence>
    </xsd:complexType>
    
    <xsd:element name="Section" type="SectionType" />

Have you created any schemas with recursive definitions? I'd like to see them please (the recursive parts).

/Roger


[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