Page History
Maps to a UML Attribute with the stereotype XSDany or XSDanyAttribute.
maxOccurs - to multiplicity upper range. The unbounded value maps to an asterisk in UML.
minOccurs – to multiplicity lower range.
annotation maps to Attribute documentation.
Other properties map to TaggedValues.
Panel | ||
---|---|---|
| ||
<any id = ID maxOccurs = (nonNegativeInteger | unbounded) : 1 minOccurs = nonNegativeInteger : 1 namespace = ((##any | ##other)| List of (anyURI | (##targetNamespace | ##local)) ) : ##any {any attributes with non-schema namespace…}> Content: (annotation?) </any> <anyAttribute id = ID namespace = ((##any | ##other) | List of (anyURI | (##targetNamespace | ##local)) ) : ##any processContents = (lax | skip | strict) : strict {any attributes with non-schema namespace…}> Content: (annotation?) |
Panel | ||
---|---|---|
| ||
<xs:any processContents = "skip"/> <xs:any namespace = "##other" processContents="lax"/> <xs:any namespace = "http://www.w3.org/1999/XSL/Transform"/> <xs:any namespace = "##targetNamespace"/> <xs:anyAttribute namespace = "http://www.w3.org/XML/1998/namespace"/> |
any and anyAttribute UML model example.
Panel | ||
---|---|---|
| ||
<?xml version='1.0' encoding='Cp1252'?> <xs:schema xmlns:nm = "http://nomagic.com" xmlns:xs = "http://www.w3.org/2001/XMLSchema" targetNamespace = "http://nomagic.com"> <xs:group name = "my_type" > <xs:any id = "anyID" namespace = "http://bla" processContents = "strict" minOccurs = "0" maxOccurs = "1" > <xs:annotation> </xs:annotation> </xs:choice> </xs:group> <xs:attributeGroup name = "attr_group"> <xs:anyAttribute id = "anyID" namespace = "http:\bla.bla.bla" processContents = "skip"> <xs:annotation> <xs:documentation>any attribute documentation</xs:documentation> </xs:annotation> </xs:anyAttribute> </xs:attributeGroup> </xs:schema> |