/* <any id = ID maxOccurs = for maxOccurs : 1 minOccurs = nonNegativeInteger : 1 namespace = ##any | ##other | list of {uri, ##targetNamespace, ##local} : ##any processContents = skip | lax | strict : strict {any attributes with non-schema namespace . . .}> Content: (annotation?) </any> */ private static void InitAny(XsdBuilder builder, string value) { builder.xso = builder.particle = builder.anyElement = new XmlSchemaAny(); builder.AddParticle(builder.anyElement); }
/* <sequence id = ID maxOccurs = for maxOccurs : 1 minOccurs = nonNegativeInteger : 1 {any attributes with non-schema namespace . . .}> Content: (annotation? , (element | group | choice | sequence | any)*) </sequence> */ private static void InitSequence(XsdBuilder builder, string value) { builder.xso = builder.particle = builder.sequence = new XmlSchemaSequence(); builder.AddParticle(builder.sequence); }
/* <all id = ID maxOccurs = for maxOccurs : 1 minOccurs = nonNegativeInteger : 1 {any attributes with non-schema namespace . . .}> Content: (annotation? , element*) </all> */ private static void InitAll(XsdBuilder builder, string value) { builder.xso = builder.particle = builder.all = new XmlSchemaAll(); builder.AddParticle(builder.all); }
/* <choice id = ID maxOccurs = for maxOccurs : 1 minOccurs = nonNegativeInteger : 1 {any attributes with non-schema namespace . . .}> Content: (annotation? , (element | group | choice | sequence | any)*) </choice> */ private static void InitChoice(XsdBuilder builder, string value) { builder.xso = builder.particle = builder.choice = new XmlSchemaChoice(); builder.AddParticle(builder.choice); }
/* <group id = ID maxOccurs = for maxOccurs : 1 minOccurs = nonNegativeInteger : 1 ref = QName {any attributes with non-schema namespace . . .}> Content: (annotation?) </group> */ private static void InitGroupRef(XsdBuilder builder, string value) { builder.xso = builder.particle = builder.groupRef = new XmlSchemaGroupRef(); builder.AddParticle(builder.groupRef); }