Showing:

Annotations
Attributes
Diagrams
Facets
Instances
Properties
Source
Used by
Main schema DEMML_0.1.xsd
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Annotations
<p>This is the first alpha version of the DEMML(tm) schema for content (version 0.1). This schema is far from complete and the structure may need to be modified considerably in order to incorporate all the features of the DEMML(tm). While I plan to make future versions of this schema a semi-open standard in the future, the entire schema is currently copyright (c) 2010 by Grant Sheridan Robertson. It is currently not permitted to use this schema - or any  portions thereof - in any manner without written permission. However, if you write, I will probably give permision. I simply want to keep track of what is being done with DEMML(tm) so I can keep a handle on it till it is ready for release. Thank you for your cooperation.</p>
<p>To learn more about this DEMML(tm) go to www.demml.net. To learn more about the schema itself (past, present, & future)  as well as a general description of how the DEMML system is organized see www.demml.net/standard/.</p>
Properties
attribute form default: unqualified
element form default: qualified
version: 0.1
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element demml
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id4 index0.tmp#id12 index0.tmp#id26
Properties
content: complex
Model topicID , fileInfo , item+
Children fileInfo, item, topicID
Instance
<demml>
  <topicID topicCode="" topicSN="">{1,1}</topicID>
  <fileInfo>{1,1}</fileInfo>
  <item>{1,unbounded}</item>
</demml>
Source
<xs:element name="demml">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="topicID" type="TopicID">
        <xs:annotation>
          <xs:documentation>Indicates which topic folder this file should be placed in.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="fileInfo" type="FileInfo"/>
      <xs:element name="item" type="Item" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element demml / topicID
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Annotations
Indicates which topic folder this file should be placed in.
Diagram
Diagram index1.tmp#id9 index1.tmp#id10 index1.tmp#id6 index1.tmp#id5
Type TopicID
Properties
content: complex
Model topicTitle+
Children topicTitle
Instance
<topicID topicCode="" topicSN="">
  <topicTitle xml:lang="">{1,unbounded}</topicTitle>
</topicID>
Attributes
QName Type Fixed Default Use Annotation
topicCode xs:token required
<p>This is the Distributable Educational Material Classification System (DEMCS) classification code. This code includes the full path to the topic within the DEMCS. See
  <a href="http://demml.net/standard/classification/">http://demml.net/standard/classification/</a>for more information.</p>
<p>Do not include the demml:// protocol prefix in the value for this attribute.</p>
topicSN SerialNumber required
The Topic Serial Number must be unique among all the topics within the entire DEMML system. Serial Numbers are assigned sequentially as each topic is added the DEMCS. In case some topics need to be rearranged at some time in the future (hopefully very rarely) the serial numbers can be used by software to locate the correct topics and update their locations within individual users' databases of DEMML content.
Source
<xs:element name="topicID" type="TopicID">
  <xs:annotation>
    <xs:documentation>Indicates which topic folder this file should be placed in.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element demml / fileInfo
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index1.tmp#id14 index1.tmp#id23 index1.tmp#id13
Type FileInfo
Properties
content: complex
Model fileRevInfo , creator+
Children creator, fileRevInfo
Instance
<fileInfo>
  <fileRevInfo createDate="">{1,1}</fileRevInfo>
  <creator>{1,unbounded}</creator>
</fileInfo>
Source
<xs:element name="fileInfo" type="FileInfo"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element demml / item
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id27
Type Item
Properties
content: complex
maxOccurs: unbounded
Source
<xs:element name="item" type="Item" maxOccurs="unbounded"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element FactItem / factMetadata
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id69 index0.tmp#id31 index0.tmp#id36 index0.tmp#id41 index0.tmp#id42 index0.tmp#id53 index0.tmp#id35 index0.tmp#id63 index0.tmp#id30
Type FactMetadata
Properties
content: complex
Model factID , itemID , itemRev , prerequisites{0,1} , pedegogies{0,1} , about{0,1}
Children about, factID, itemID, itemRev, pedegogies, prerequisites
Instance
<factMetadata aETM="" difficulty="">
  <factID factCode="">{1,1}</factID>
  <about>{0,1}</about>
</factMetadata>
Attributes
QName Type Fixed Default Use Annotation
aETM AETM optional
difficulty Percent optional
Source
<xs:element name="factMetadata" type="FactMetadata"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element FactMetadata / factID
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index1.tmp#id34 index1.tmp#id33 index1.tmp#id32
Type FactID
Properties
content: complex
Model factTitle+
Children factTitle
Instance
<factID factCode="">
  <factTitle xml:lang="">{1,unbounded}</factTitle>
</factID>
Attributes
QName Type Fixed Default Use Annotation
factCode restriction of xs:string required
Fact codes consist of one or more digits or capital letters suffixed by zero or one lower-case letter. The first letter is always a capital 'F' to make them easier to recognize when written down. In order to allow additional facts to be inserted into an ordered list of preexisting facts, fact codes follow the same rules and pattern as the DEMCS coding system (see http://demml.net/standard/classification/4-assign_codes.htm). In some cases one level of sub-facts will be appropriate. In which case the sub-facts will have the code of the parent fact followed directly by one lower-case letter. For instance, N7b or 3La. If at any time one feels it necessary to create a third level of facts then serious consideration should be given to creating sub-topics instead, putting each of the primary parent facts in its own topic. Sometimes the order of facts will not matter. But for some topics where the order the facts are listed helps provide meaning to these facts then make sure the facts are numbered in an appropriate order.
Fact F0 is the statement of the main point of the topic.
Source
<xs:element name="factID" type="FactID"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element basicMetadataElements / itemID
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index1.tmp#id39 index1.tmp#id40 index1.tmp#id38 index1.tmp#id37
Type ItemID
Properties
content: complex
Model itemTitle+
Children itemTitle
Instance
<itemID itemNumber="" itemType="">
  <itemTitle xml:lang="">{1,unbounded}</itemTitle>
</itemID>
Attributes
QName Type Fixed Default Use Annotation
itemNumber SerialNumber required
This is simply a sequentialy assigned code number comprised of digits and capital letters. It must be unique among all the other items in the same topic folder.
itemType restriction of xs:string optional
This attribute is for informational purposes only, rather than to define a datatype. It is included so when an itemID is used in a reference, software or human readers can tell what type of item is being referenced without retrieving that actual item.
Source
<xs:element name="itemID" type="ItemID"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element basicMetadataElements / itemRev
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index1.tmp#id22 index1.tmp#id16 index1.tmp#id19 index1.tmp#id15
Type RevInfo
Properties
content: complex
Model contentRevInfo , dataRevInfo
Children contentRevInfo, dataRevInfo
Instance
<itemRev createDate="">
  <contentRevInfo contentModDate="" contentVersion="">{1,1}</contentRevInfo>
  <dataRevInfo dataModDate="" dataVersion="">{1,1}</dataRevInfo>
</itemRev>
Attributes
QName Type Fixed Default Use Annotation
createDate xs:date required
Date the file was first created. Once the file is created, this date should not be changed.
Source
<xs:element name="itemRev" type="RevInfo"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element basicMetadataElements / prerequisites
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index1.tmp#id44 index1.tmp#id43
Type Prerequisites
Properties
content: complex
minOccurs: 0
Model prereq+
Children prereq
Instance
<prerequisites>
  <prereq>{1,unbounded}</prereq>
</prerequisites>
Source
<xs:element name="prerequisites" type="Prerequisites" minOccurs="0"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element basicMetadataElements / pedegogies
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index1.tmp#id55 index1.tmp#id54
Type Pedegogies
Properties
content: complex
minOccurs: 0
Model pedegogy+
Children pedegogy
Instance
<pedegogies>
  <pedegogy Classification="" domain="" model="" percent="">{1,unbounded}</pedegogy>
</pedegogies>
Source
<xs:element name="pedegogies" type="Pedegogies" minOccurs="0"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element FactMetadata / about
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id64
Properties
content: complex
minOccurs: 0
Model extRef
Children extRef
Instance
<about>
  <extRef>{1,1}</extRef>
</about>
Source
<xs:element name="about" minOccurs="0">
  <xs:complexType>
    <xs:choice maxOccurs="unbounded">
      <xs:element name="extRef" type="ExtRef"/>
    </xs:choice>
  </xs:complexType>
</xs:element>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element about / FactMetadata / extRef
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index1.tmp#id66 index1.tmp#id67 index1.tmp#id68 index1.tmp#id65
Type ExtRef
Type hierarchy
Properties
content: complex
Model topicID , factID{0,1}
Children factID, topicID
Instance
<extRef>
  <topicID topicCode="" topicSN="">{1,1}</topicID>
  <factID factCode="">{0,1}</factID>
</extRef>
Source
<xs:element name="extRef" type="ExtRef"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element FactItem / content
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id74 index0.tmp#id73
Type BasicContent
Type hierarchy
Properties
content: complex
Model ANY element from namespace(s) 'http://www.w3.org/1999/xhtml http://www.w3.org/TR/html4/'
Source
<xs:element name="content" type="BasicContent"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element ExplanationItem / explanationMetadata
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id69 index0.tmp#id36 index0.tmp#id41 index0.tmp#id42 index0.tmp#id53 index0.tmp#id35 index0.tmp#id78 index0.tmp#id77
Type ExplanationMetadata
Properties
content: complex
Model itemID , itemRev , prerequisites{0,1} , pedegogies{0,1} , about
Children about, itemID, itemRev, pedegogies, prerequisites
Instance
<explanationMetadata aETM="" difficulty="">
  <itemID itemNumber="" itemType="">{1,1}</itemID>
  <itemRev createDate="">{1,1}</itemRev>
  <prerequisites>{0,1}</prerequisites>
  <pedegogies>{0,1}</pedegogies>
  <about>{1,1}</about>
</explanationMetadata>
Attributes
QName Type Fixed Default Use Annotation
aETM AETM optional
difficulty Percent optional
Source
<xs:element name="explanationMetadata" type="ExplanationMetadata"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element ExplanationMetadata / about
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id80 index0.tmp#id83 index0.tmp#id86 index0.tmp#id79 index0.tmp#id90
Properties
content: complex
Model factRef | itemRef | threadRef | qaPairRef
Children factRef, itemRef, qaPairRef, threadRef
Instance
<about>
  <factRef>{1,1}</factRef>
  <itemRef>{1,1}</itemRef>
  <threadRef>{1,1}</threadRef>
  <qaPairRef>{1,1}</qaPairRef>
</about>
Source
<xs:element name="about">
  <xs:complexType>
    <xs:choice maxOccurs="unbounded">
      <xs:group ref="standardRefs"/>
      <xs:element name="qaPairRef" type="QApairRef"/>
    </xs:choice>
  </xs:complexType>
</xs:element>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element standardRefs / factRef
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index1.tmp#id66 index1.tmp#id82 index1.tmp#id81
Type FactRef
Type hierarchy
Properties
content: complex
Model factID
Children factID
Instance
<factRef>
  <factID factCode="">{1,1}</factID>
</factRef>
Source
<xs:element name="factRef" type="FactRef"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element standardRefs / itemRef
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index1.tmp#id66 index1.tmp#id85 index1.tmp#id84
Type ItemRef
Type hierarchy
Properties
content: complex
Model itemID
Children itemID
Instance
<itemRef>
  <itemID itemNumber="" itemType="">{1,1}</itemID>
</itemRef>
Source
<xs:element name="itemRef" type="ItemRef"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element standardRefs / threadRef
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index1.tmp#id66 index1.tmp#id88 index1.tmp#id89 index1.tmp#id87
Type ThreadRef
Type hierarchy
Properties
content: complex
Model topicID , itemID
Children itemID, topicID
Instance
<threadRef>
  <topicID topicCode="" topicSN="">{1,1}</topicID>
  <itemID itemNumber="" itemType="">{1,1}</itemID>
</threadRef>
Source
<xs:element name="threadRef" type="ThreadRef"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element about / ExplanationMetadata / qaPairRef
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index1.tmp#id66 index1.tmp#id92 index1.tmp#id93 index1.tmp#id91
Type QApairRef
Type hierarchy
Properties
content: complex
Model questionItem , answerItem
Children answerItem, questionItem
Instance
<qaPairRef>
  <questionItem itemNumber="" itemType="">{1,1}</questionItem>
  <answerItem itemNumber="" itemType="">{1,1}</answerItem>
</qaPairRef>
Source
<xs:element name="qaPairRef" type="QApairRef"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element ExplanationItem / content
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id74 index0.tmp#id73
Type BasicContent
Type hierarchy
Properties
content: complex
Model ANY element from namespace(s) 'http://www.w3.org/1999/xhtml http://www.w3.org/TR/html4/'
Source
<xs:element name="content" type="BasicContent"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element QuestionItem / questionMetadata
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id69 index0.tmp#id36 index0.tmp#id41 index0.tmp#id42 index0.tmp#id53 index0.tmp#id35 index0.tmp#id98 index0.tmp#id97
Type QuestionMetadata
Properties
content: complex
Model itemID , itemRev , prerequisites{0,1} , pedegogies{0,1} , about{0,1}
Children about, itemID, itemRev, pedegogies, prerequisites
Instance
<questionMetadata aETM="" difficulty="">
  <itemID itemNumber="" itemType="">{1,1}</itemID>
  <itemRev createDate="">{1,1}</itemRev>
  <prerequisites>{0,1}</prerequisites>
  <pedegogies>{0,1}</pedegogies>
  <about>{0,1}</about>
</questionMetadata>
Attributes
QName Type Fixed Default Use Annotation
aETM AETM optional
difficulty Percent optional
Source
<xs:element name="questionMetadata" type="QuestionMetadata"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element QuestionMetadata / about
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id80 index0.tmp#id83 index0.tmp#id86 index0.tmp#id79
Properties
content: complex
minOccurs: 0
Model factRef | itemRef | threadRef
Children factRef, itemRef, threadRef
Instance
<about>
  <factRef>{1,1}</factRef>
  <itemRef>{1,1}</itemRef>
  <threadRef>{1,1}</threadRef>
</about>
Source
<xs:element name="about" minOccurs="0">
  <xs:complexType>
    <xs:group ref="standardRefs" maxOccurs="unbounded"/>
  </xs:complexType>
</xs:element>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element QuestionItem / content
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id74 index0.tmp#id73
Type BasicContent
Type hierarchy
Properties
content: complex
Model ANY element from namespace(s) 'http://www.w3.org/1999/xhtml http://www.w3.org/TR/html4/'
Source
<xs:element name="content" type="BasicContent"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element AnswerItem / answerMetadata
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id69 index0.tmp#id36 index0.tmp#id41 index0.tmp#id42 index0.tmp#id53 index0.tmp#id35 index0.tmp#id103 index0.tmp#id102
Type AnswerMetadata
Properties
content: complex
Model itemID , itemRev , prerequisites{0,1} , pedegogies{0,1} , about
Children about, itemID, itemRev, pedegogies, prerequisites
Instance
<answerMetadata aETM="" difficulty="">
  <itemID itemNumber="" itemType="">{1,1}</itemID>
  <itemRev createDate="">{1,1}</itemRev>
  <prerequisites>{0,1}</prerequisites>
  <pedegogies>{0,1}</pedegogies>
  <about>{1,1}</about>
</answerMetadata>
Attributes
QName Type Fixed Default Use Annotation
aETM AETM optional
difficulty Percent optional
Source
<xs:element name="answerMetadata" type="AnswerMetadata"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element AnswerMetadata / about
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id104
Properties
content: complex
Model a2QRef
Children a2QRef
Instance
<about>
  <a2QRef correct="">{1,1}</a2QRef>
</about>
Source
<xs:element name="about">
  <xs:complexType>
    <xs:choice maxOccurs="unbounded">
      <xs:element name="a2QRef" type="A2QRef"/>
    </xs:choice>
  </xs:complexType>
</xs:element>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element about / AnswerMetadata / a2QRef
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index1.tmp#id66 index1.tmp#id107 index1.tmp#id106 index1.tmp#id105
Type A2QRef
Type hierarchy
Properties
content: complex
Model itemID
Children itemID
Instance
<a2QRef correct="">
  <itemID itemNumber="" itemType="">{1,1}</itemID>
</a2QRef>
Attributes
QName Type Fixed Default Use Annotation
correct Percent required
Indicates if this answer is a correct response to the referred to question. A percentage is used rather than a simply boolean because some answers are worth partial credit. Note: it is not necessary to create a reference from every Answer-Item to every Question-Item indicating the degree of correctness. Instead, only create these references when the answer is a plausible answer to the referred to question or is a good distractor for that question. This way software can automatically create quizes that are different each time.
Source
<xs:element name="a2QRef" type="A2QRef"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element AnswerItem / content
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id74 index0.tmp#id73
Type BasicContent
Type hierarchy
Properties
content: complex
Model ANY element from namespace(s) 'http://www.w3.org/1999/xhtml http://www.w3.org/TR/html4/'
Source
<xs:element name="content" type="BasicContent"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element ThreadItem / threadMetadata
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id69 index0.tmp#id112 index0.tmp#id36 index0.tmp#id41 index0.tmp#id42 index0.tmp#id53 index0.tmp#id35 index0.tmp#id117 index0.tmp#id111
Type ThreadMetadata
Properties
content: complex
Model threadID , itemID , itemRev , prerequisites{0,1} , pedegogies{0,1} , creator{0,1}
Children creator, itemID, itemRev, pedegogies, prerequisites, threadID
Instance
<threadMetadata aETM="" difficulty="">
  <threadID threadCode="" threadSN="">{1,1}</threadID>
  <creator>{0,1}</creator>
</threadMetadata>
Attributes
QName Type Fixed Default Use Annotation
aETM AETM optional
difficulty Percent optional
Source
<xs:element name="threadMetadata" type="ThreadMetadata"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element ThreadMetadata / threadID
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index1.tmp#id115 index1.tmp#id116 index1.tmp#id114 index1.tmp#id113
Type ThreadID
Properties
content: complex
Model threadTitle+
Children threadTitle
Instance
<threadID threadCode="" threadSN="">
  <threadTitle xml:lang="">{1,unbounded}</threadTitle>
</threadID>
Attributes
QName Type Fixed Default Use Annotation
threadCode xs:token required
There can be only one effective thread with the same threadCode in any one branch of the DEMCS tree. If there are threads with the same threadCode in more than one level of the same branch of the tree, the thread in the branch farthest from the root of the tree takes precedence. This allows a type of inheritance in that a thread can be more general closer to the root of the tree but then be modified to be more specific to the topics in the branches farther out from the root. There is no formal mechanism for controling inheritance. Whichever thread is referenced is the thread that will be applied to the referencing item.
threadSN SerialNumber required
The thread serial number should be unique in the entire DEMML system.
Source
<xs:element name="threadID" type="ThreadID"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element ThreadMetadata / creator
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index1.tmp#id25 index1.tmp#id24
Type PersonInfo
Properties
content: complex
minOccurs: 0
Model personName
Children personName
Instance
<creator>
  <personName>{1,1}</personName>
</creator>
Source
<xs:element name="creator" minOccurs="0" type="PersonInfo"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element ThreadItem / content
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id74 index0.tmp#id73
Type BasicContent
Type hierarchy
Properties
content: complex
Model ANY element from namespace(s) 'http://www.w3.org/1999/xhtml http://www.w3.org/TR/html4/'
Source
<xs:element name="content" type="BasicContent"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Complex Type Item
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Annotations
This is an empty, abstract datatype. The reasons for this are rather complicated. In order to keep the declaration of the demml element simple, even though there will be many different types of items, it was necessary for demml/item element to use an abstract datatype allowing type substitution of the child datatypes in the place of this element. In order to keep the structure of the item elements consistent it is best to keep the metadata on top and the content last. Therefore, it is also best to keep the metadata and content in their own separate elements, allowing each of their datatypes to also be abstracted and extended. While itemMetadata and content elements could have been placed here to then reference those abstract datatypes, allowing their replacement with concrete datatypes, this would not have ensured that the correct sets of metadata were always paired with the correct type of content. It is also the case that not all items will actually contain content. Others may have more complicated content than can be expressed by a simple element with some HTML in it. Therefore, it is necessary to declare each different item type as an extension of this type with a metadata element and content element designed just for that item type.
Diagram
Diagram
Properties
abstract: true
Used by
Source
<xs:complexType name="Item" abstract="true">
  <xs:annotation>
    <xs:documentation>This is an empty, abstract datatype. The reasons for this are rather complicated. In order to keep the declaration of the demml element simple, even though there will be many different types of items, it was necessary for demml/item element to use an abstract datatype allowing type substitution of the child datatypes in the place of this element. In order to keep the structure of the item elements consistent it is best to keep the metadata on top and the content last. Therefore, it is also best to keep the metadata and content in their own separate elements, allowing each of their datatypes to also be abstracted and extended. While itemMetadata and content elements could have been placed here to then reference those abstract datatypes, allowing their replacement with concrete datatypes, this would not have ensured that the correct sets of metadata were always paired with the correct type of content. It is also the case that not all items will actually contain content. Others may have more complicated content than can be expressed by a simple element with some HTML in it. Therefore, it is necessary to declare each different item type as an extension of this type with a metadata element and content element designed just for that item type.</xs:documentation>
  </xs:annotation>
</xs:complexType>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Complex Type FactItem
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id27 index0.tmp#id29 index0.tmp#id72
Type extension of Item
Type hierarchy
Model factMetadata , content
Children content, factMetadata
Source
<xs:complexType name="FactItem">
  <xs:complexContent>
    <xs:extension base="Item">
      <xs:sequence>
        <xs:element name="factMetadata" type="FactMetadata"/>
        <xs:element name="content" type="BasicContent"/>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Complex Type FactMetadata
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id69 index0.tmp#id31 index0.tmp#id36 index0.tmp#id41 index0.tmp#id42 index0.tmp#id53 index0.tmp#id35 index0.tmp#id63
Used by
Model factID , itemID , itemRev , prerequisites{0,1} , pedegogies{0,1} , about{0,1}
Children about, factID, itemID, itemRev, pedegogies, prerequisites
Attributes
QName Type Fixed Default Use Annotation
aETM AETM optional
difficulty Percent optional
Source
<xs:complexType name="FactMetadata">
  <xs:sequence>
    <xs:element name="factID" type="FactID"/>
    <xs:group ref="basicMetadataElements"/>
    <xs:element name="about" minOccurs="0">
      <xs:complexType>
        <xs:choice maxOccurs="unbounded">
          <xs:element name="extRef" type="ExtRef"/>
        </xs:choice>
      </xs:complexType>
    </xs:element>
  </xs:sequence>
  <xs:attributeGroup ref="basicMetadataAttributes"/>
</xs:complexType>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Complex Type BasicContent
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id74
Type extension of Content
Type hierarchy
Used by
Model ANY element from namespace(s) 'http://www.w3.org/1999/xhtml http://www.w3.org/TR/html4/'
Source
<xs:complexType name="BasicContent">
  <xs:complexContent>
    <xs:extension base="Content">
      <xs:sequence>
        <xs:any namespace="http://www.w3.org/1999/xhtml http://www.w3.org/TR/html4/" processContents="skip"/>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Complex Type Content
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Annotations
This is an abstract type. It is also intentionally empty. The sole purpose of this type is to serve as a parent type for other types of content elements. This allows the demml/item element to remain relatively simple. It also allows software developers to create a parent or interface class from which child classes can be extended or implemented. This way any of these content types can be stored in the same container if necessary.
Diagram
Diagram
Properties
abstract: true
Used by
Complex Type BasicContent
Source
<xs:complexType name="Content" abstract="true">
  <xs:annotation>
    <xs:documentation>This is an abstract type. It is also intentionally empty. The sole purpose of this type is to serve as a parent type for other types of content elements. This allows the demml/item element to remain relatively simple. It also allows software developers to create a parent or interface class from which child classes can be extended or implemented. This way any of these content types can be stored in the same container if necessary.</xs:documentation>
  </xs:annotation>
</xs:complexType>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Complex Type ExplanationItem
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id27 index0.tmp#id76 index0.tmp#id94
Type extension of Item
Type hierarchy
Model explanationMetadata , content
Children content, explanationMetadata
Source
<xs:complexType name="ExplanationItem">
  <xs:complexContent>
    <xs:extension base="Item">
      <xs:sequence>
        <xs:element name="explanationMetadata" type="ExplanationMetadata"/>
        <xs:element name="content" type="BasicContent"/>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Complex Type ExplanationMetadata
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id69 index0.tmp#id36 index0.tmp#id41 index0.tmp#id42 index0.tmp#id53 index0.tmp#id35 index0.tmp#id78
Used by
Model itemID , itemRev , prerequisites{0,1} , pedegogies{0,1} , about
Children about, itemID, itemRev, pedegogies, prerequisites
Attributes
QName Type Fixed Default Use Annotation
aETM AETM optional
difficulty Percent optional
Source
<xs:complexType name="ExplanationMetadata">
  <xs:sequence>
    <xs:group ref="basicMetadataElements"/>
    <xs:element name="about">
      <xs:complexType>
        <xs:choice maxOccurs="unbounded">
          <xs:group ref="standardRefs"/>
          <xs:element name="qaPairRef" type="QApairRef"/>
        </xs:choice>
      </xs:complexType>
    </xs:element>
  </xs:sequence>
  <xs:attributeGroup ref="basicMetadataAttributes"/>
</xs:complexType>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Complex Type QuestionItem
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id27 index0.tmp#id96 index0.tmp#id99
Type extension of Item
Type hierarchy
Model questionMetadata , content
Children content, questionMetadata
Source
<xs:complexType name="QuestionItem">
  <xs:complexContent>
    <xs:extension base="Item">
      <xs:sequence>
        <xs:element name="questionMetadata" type="QuestionMetadata"/>
        <xs:element name="content" type="BasicContent"/>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Complex Type QuestionMetadata
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id69 index0.tmp#id36 index0.tmp#id41 index0.tmp#id42 index0.tmp#id53 index0.tmp#id35 index0.tmp#id98
Used by
Model itemID , itemRev , prerequisites{0,1} , pedegogies{0,1} , about{0,1}
Children about, itemID, itemRev, pedegogies, prerequisites
Attributes
QName Type Fixed Default Use Annotation
aETM AETM optional
difficulty Percent optional
Source
<xs:complexType name="QuestionMetadata">
  <xs:sequence>
    <xs:group ref="basicMetadataElements"/>
    <xs:element name="about" minOccurs="0">
      <xs:complexType>
        <xs:group ref="standardRefs" maxOccurs="unbounded"/>
      </xs:complexType>
    </xs:element>
  </xs:sequence>
  <xs:attributeGroup ref="basicMetadataAttributes"/>
</xs:complexType>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Complex Type AnswerItem
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id27 index0.tmp#id101 index0.tmp#id108
Type extension of Item
Type hierarchy
Model answerMetadata , content
Children answerMetadata, content
Source
<xs:complexType name="AnswerItem">
  <xs:complexContent>
    <xs:extension base="Item">
      <xs:sequence>
        <xs:element name="answerMetadata" type="AnswerMetadata"/>
        <xs:element name="content" type="BasicContent"/>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Complex Type AnswerMetadata
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id69 index0.tmp#id36 index0.tmp#id41 index0.tmp#id42 index0.tmp#id53 index0.tmp#id35 index0.tmp#id103
Used by
Model itemID , itemRev , prerequisites{0,1} , pedegogies{0,1} , about
Children about, itemID, itemRev, pedegogies, prerequisites
Attributes
QName Type Fixed Default Use Annotation
aETM AETM optional
difficulty Percent optional
Source
<xs:complexType name="AnswerMetadata">
  <xs:sequence>
    <xs:group ref="basicMetadataElements"/>
    <xs:element name="about">
      <xs:complexType>
        <xs:choice maxOccurs="unbounded">
          <xs:element name="a2QRef" type="A2QRef"/>
        </xs:choice>
      </xs:complexType>
    </xs:element>
  </xs:sequence>
  <xs:attributeGroup ref="basicMetadataAttributes"/>
</xs:complexType>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Complex Type ThreadItem
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Annotations
Used to indicate that an item follows a particular thread. In other words it sticks to the same examples or follows the same storyline of other items. Threads are used to provide continuity to the learning experience.
Threads should always be placed in the farthest out branch of the tree which still includes all or most of the items that refer to it.
Diagram
Diagram index0.tmp#id27 index0.tmp#id110 index0.tmp#id118
Type extension of Item
Type hierarchy
Model threadMetadata , content
Children content, threadMetadata
Source
<xs:complexType name="ThreadItem">
  <xs:annotation>
    <xs:documentation>Used to indicate that an item follows a particular thread. In other words it sticks to the same examples or follows the same storyline of other items. Threads are used to provide continuity to the learning experience.</xs:documentation>
    <xs:documentation>Threads should always be placed in the farthest out branch of the tree which still includes all or most of the items that refer to it.</xs:documentation>
  </xs:annotation>
  <xs:complexContent>
    <xs:extension base="Item">
      <xs:sequence>
        <xs:element name="threadMetadata" type="ThreadMetadata"/>
        <xs:element name="content" type="BasicContent"/>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Complex Type ThreadMetadata
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Diagram
Diagram index0.tmp#id69 index0.tmp#id112 index0.tmp#id36 index0.tmp#id41 index0.tmp#id42 index0.tmp#id53 index0.tmp#id35 index0.tmp#id117
Used by
Model threadID , itemID , itemRev , prerequisites{0,1} , pedegogies{0,1} , creator{0,1}
Children creator, itemID, itemRev, pedegogies, prerequisites, threadID
Attributes
QName Type Fixed Default Use Annotation
aETM AETM optional
difficulty Percent optional
Source
<xs:complexType name="ThreadMetadata">
  <xs:sequence>
    <xs:element name="threadID" type="ThreadID"/>
    <xs:group ref="basicMetadataElements"/>
    <xs:element name="creator" minOccurs="0" type="PersonInfo"/>
  </xs:sequence>
  <xs:attributeGroup ref="basicMetadataAttributes"/>
</xs:complexType>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Attribute basicMetadataAttributes / @aETM
Namespace No namespace
Type AETM
Properties
content: simple
Facets
minInclusive PT0M
Naturally, the aETM shouldn't be less than zero minutes.
pattern PT\d+M
Used by
Attribute Group basicMetadataAttributes
Source
<xs:attribute name="aETM" type="AETM"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Attribute basicMetadataAttributes / @difficulty
Namespace No namespace
Type Percent
Type hierarchy
Properties
content: simple
Facets
maxInclusive 100
minInclusive 0.00
Used by
Attribute Group basicMetadataAttributes
Source
<xs:attribute name="difficulty" type="Percent"/>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element Group basicMetadataElements
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Annotations
These are the metadata elements that are common to all the different kinds of items. It is in a group so it can easily be inserted into any of the metadata types.
Diagram
Diagram index0.tmp#id36 index0.tmp#id41 index0.tmp#id42 index0.tmp#id53
Used by
Model itemID , itemRev , prerequisites{0,1} , pedegogies{0,1}
Children itemID, itemRev, pedegogies, prerequisites
Source
<xs:group name="basicMetadataElements">
  <xs:annotation>
    <xs:documentation>These are the metadata elements that are common to all the different kinds of items. It is in a group so it can easily be inserted into any of the metadata types.</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="itemID" type="ItemID"/>
    <xs:element name="itemRev" type="RevInfo"/>
    <xs:element name="prerequisites" type="Prerequisites" minOccurs="0"/>
    <xs:element name="pedegogies" type="Pedegogies" minOccurs="0"/>
  </xs:sequence>
</xs:group>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Element Group standardRefs
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Annotations
This set of references can be used in the about element of many, but not all, of the item types.
Diagram
Diagram index0.tmp#id80 index0.tmp#id83 index0.tmp#id86
Used by
Model factRef | itemRef | threadRef
Children factRef, itemRef, threadRef
Source
<xs:group name="standardRefs">
  <xs:annotation>
    <xs:documentation>This set of references can be used in the about element of many, but not all, of the item types.</xs:documentation>
  </xs:annotation>
  <xs:choice>
    <xs:element name="factRef" type="FactRef"/>
    <xs:element name="itemRef" type="ItemRef"/>
    <xs:element name="threadRef" type="ThreadRef"/>
  </xs:choice>
</xs:group>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd
Attribute Group basicMetadataAttributes
Namespace http://www.demml.net/schemas/alpha/0.1/demml
Annotations
These are the metadata attributes that are common to all the different kinds of items. It is in a group so it can easily be inserted into any of the metadata types.
Diagram
Diagram index0.tmp#id70 index0.tmp#id71
Used by
Attributes
QName Type Fixed Default Use Annotation
aETM AETM optional
difficulty Percent optional
Source
<xs:attributeGroup name="basicMetadataAttributes">
  <xs:annotation>
    <xs:documentation>These are the metadata attributes that are common to all the different kinds of items. It is in a group so it can easily be inserted into any of the metadata types.</xs:documentation>
  </xs:annotation>
  <xs:attribute name="aETM" type="AETM"/>
  <xs:attribute name="difficulty" type="Percent"/>
</xs:attributeGroup>
Schema location file:/D:/My Notebooks/Projects/DEMML/XML Projects/DEMML_0.1/DEMML_0.1.xsd