Site Tools


Hotfix release available: 2026-07-14a "Mort". upgrade now! [57.1] (what's this?)
New release available: 2026-07-14 "Mort". upgrade now! [57] (what's this?)
Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
notes:xml_schema_cheat_sheet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
notes:xml_schema_cheat_sheet [2026/07/23 04:03]
114.119.135.37 old revision restored (2026/06/27 07:54)
notes:xml_schema_cheat_sheet [2026/07/24 19:06] (current)
181.78.86.234 old revision restored (2026/06/25 22:05)
Line 149: Line 149:
   </xs:sequence>   </xs:sequence>
 </xs:complexType></code> </xs:complexType></code>
- 
  
 ==== XSD Element Indicators ==== ==== XSD Element Indicators ====
Line 175: Line 174:
 <xs:group ref="persongroup"/></code> <xs:group ref="persongroup"/></code>
  
- * An Attribute group is similar for example. <code>+* An Attribute group is similar e.g. <code>
 <xs:attributeGroup name="personattrgroup"> <xs:attributeGroup name="personattrgroup">
   <xs:attribute name="firstname" type="xs:string"/>   <xs:attribute name="firstname" type="xs:string"/>
   <xs:attribute name="lastname" type="xs:string"/>   <xs:attribute name="lastname" type="xs:string"/>
-</xs:attributeGroup></code> A reference to the attribute group in a complex type would look like : <code> +</xs:attributeGroup></code> A reference to the attribute group in a complex type would look like :<code> <xs:attributeGroup ref="personattrgroup"/> </code>
- <xs:attributeGroup ref="personattrgroup"/> </code> +
- +
-  * Using <xs:any /> as an element allows elements not specified in the schema to occur. +
- +
-  * Using <xs:anyAttribute/> in a complex type allows use of attributes not specified by the schema. +
- +
-  * A substitution group allows other elements to substitute for the first. The head elemenet must be a global element (a direct child of the schema element) e.g. <code> +
-<xs:element name="name" type="xs:string"/> +
-<xs:element name="navn" substitutionGroup="name"/> +
-</code> Substitution can be blocked with <code><xs:element name="name" type="xs:string" block="substitution"/></code> +
- +
-==== XSD Data Types ====+
  
notes/xml_schema_cheat_sheet.1784804593.txt.gz · Last modified: 2026/07/23 04:03 by 114.119.135.37