element <program> (global)
Namespace:
Type:
anonymous complexType
Content:
mixed (allows character data), 21 attributes, 5 elements
Defined:
globally in pretext.xsd; see XML source
Includes:
definitions of 21 attributes, 5 elements
Used:
XML Representation Summary
<program
   
 = 
xs:anySimpleType
 = 
xs:anySimpleType
 = 
xs:anySimpleType
 = 
xs:anySimpleType
 = 
xs:anySimpleType
 = 
("yes" | "no")
 = 
("yes" | "no")
 = 
("yes" | "no")
 = 
xs:anySimpleType
 = 
xs:anySimpleType
 = 
xs:anySimpleType
 = 
("yes" | "no")
 = 
("yes" | "no")
 = 
xs:anySimpleType
 = 
xs:anySimpleType
 = 
"codelens"
 = 
xs:anySimpleType
 = 
xs:anySimpleType
 = 
("yes" | "no")
 = 
xs:anySimpleType
 = 
xs:anySimpleType
   
>
   
Content: 
</program>
Content model elements (5):
Included in content model of elements (71):
colophon (defined in ColophonBack group),
conclusion (defined in ConclusionDivision group),
conclusion (defined in ConclusionStatement group),
conclusion (defined in ConclusionText group),
hint (defined in Hint group),
introduction (defined in IntroductionText group),
li (defined in ListItem group),
li (in dl),
li (in ol defined in ExerciseOrderedList group),
paragraphs (defined in Paragraphs group),
paragraphs (defined in ParagraphsNoNumber group),
sidebyside (defined in SideBySide group),
sidebyside (defined in SideBySideNoCaption group),
solution (defined in Solution group),
statement (defined in Statement group),
task (defined in Task group),
Known Usage Locations
XML Source (see within schema source)
<xs:element name="program">
<xs:complexType mixed="true">
<xs:sequence minOccurs="0">
<xs:element minOccurs="0" ref="preamble"/>
<xs:element ref="code"/>
<xs:element minOccurs="0" ref="postamble"/>
<xs:element minOccurs="0" ref="tests"/>
<xs:element minOccurs="0" ref="stdin"/>
</xs:sequence>
<xs:attribute name="component"/>
<xs:attribute name="label"/>
<xs:attribute ref="xml:id"/>
<xs:attribute name="width"/>
<xs:attribute name="margins"/>
<xs:attribute name="autorun">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="yes"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="chatcodes">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="yes"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="codelens">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="yes"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="compiler-args"/>
<xs:attribute name="database"/>
<xs:attribute name="datafile"/>
<xs:attribute name="download">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="yes"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="hidecode">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="yes"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="highlight-lines"/>
<xs:attribute name="include"/>
<xs:attribute name="interactive">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="codelens"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="interpreter-args"/>
<xs:attribute name="language"/>
<xs:attribute name="line-numbers">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="yes"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="linker-args"/>
<xs:attribute name="timelimit"/>
</xs:complexType>
</xs:element>
Attribute Detail (all declarations; defined within this component only; 21/21)
autorun
Type:
anonymous simpleType (restriction of xs:token)
Use:
optional
Attribute Value
enumeration of xs:token
Enumeration:
"yes", "no"
Anonymous simpleType
Type Derivation Tree
xs:token (restriction)
  simpleType
Derivation:
restriction of xs:token
Facets:
enumeration:
"yes", "no"
XML Source (see within schema source)
<xs:attribute name="autorun">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="yes"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>

chatcodes
Type:
anonymous simpleType (restriction of xs:token)
Use:
optional
Attribute Value
enumeration of xs:token
Enumeration:
"yes", "no"
Anonymous simpleType
Type Derivation Tree
xs:token (restriction)
  simpleType
Derivation:
restriction of xs:token
Facets:
enumeration:
"yes", "no"
XML Source (see within schema source)
<xs:attribute name="chatcodes">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="yes"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>

codelens
Type:
anonymous simpleType (restriction of xs:token)
Use:
optional
Attribute Value
enumeration of xs:token
Enumeration:
"yes", "no"
Anonymous simpleType
Type Derivation Tree
xs:token (restriction)
  simpleType
Derivation:
restriction of xs:token
Facets:
enumeration:
"yes", "no"
XML Source (see within schema source)
<xs:attribute name="codelens">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="yes"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>

compiler-args
Type:
xs:anySimpleType
Use:
optional
XML Source (see within schema source)
<xs:attribute name="compiler-args"/>

component
Type:
xs:anySimpleType
Use:
optional
XML Source (see within schema source)
<xs:attribute name="component"/>

database
Type:
xs:anySimpleType
Use:
optional
XML Source (see within schema source)
<xs:attribute name="database"/>

datafile
Type:
xs:anySimpleType
Use:
optional
XML Source (see within schema source)
<xs:attribute name="datafile"/>

download
Type:
anonymous simpleType (restriction of xs:token)
Use:
optional
Attribute Value
enumeration of xs:token
Enumeration:
"yes", "no"
Anonymous simpleType
Type Derivation Tree
xs:token (restriction)
  simpleType
Derivation:
restriction of xs:token
Facets:
enumeration:
"yes", "no"
XML Source (see within schema source)
<xs:attribute name="download">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="yes"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>

hidecode
Type:
anonymous simpleType (restriction of xs:token)
Use:
optional
Attribute Value
enumeration of xs:token
Enumeration:
"yes", "no"
Anonymous simpleType
Type Derivation Tree
xs:token (restriction)
  simpleType
Derivation:
restriction of xs:token
Facets:
enumeration:
"yes", "no"
XML Source (see within schema source)
<xs:attribute name="hidecode">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="yes"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>

highlight-lines
Type:
xs:anySimpleType
Use:
optional
XML Source (see within schema source)
<xs:attribute name="highlight-lines"/>

include
Type:
xs:anySimpleType
Use:
optional
XML Source (see within schema source)
<xs:attribute name="include"/>

interactive
Type:
anonymous simpleType (restriction of xs:token)
Use:
optional
Attribute Value
enumeration of xs:token
Enumeration:
"codelens"
Anonymous simpleType
Type Derivation Tree
xs:token (restriction)
  simpleType
Derivation:
restriction of xs:token
Facets:
enumeration:
"codelens"
XML Source (see within schema source)
<xs:attribute name="interactive">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="codelens"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>

interpreter-args
Type:
xs:anySimpleType
Use:
optional
XML Source (see within schema source)
<xs:attribute name="interpreter-args"/>

label
Type:
xs:anySimpleType
Use:
optional
XML Source (see within schema source)
<xs:attribute name="label"/>

language
Type:
xs:anySimpleType
Use:
optional
XML Source (see within schema source)
<xs:attribute name="language"/>

line-numbers
Type:
anonymous simpleType (restriction of xs:token)
Use:
optional
Attribute Value
enumeration of xs:token
Enumeration:
"yes", "no"
Anonymous simpleType
Type Derivation Tree
xs:token (restriction)
  simpleType
Derivation:
restriction of xs:token
Facets:
enumeration:
"yes", "no"
XML Source (see within schema source)
<xs:attribute name="line-numbers">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="yes"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>

linker-args
Type:
xs:anySimpleType
Use:
optional
XML Source (see within schema source)
<xs:attribute name="linker-args"/>

margins
Type:
xs:anySimpleType
Use:
optional
XML Source (see within schema source)
<xs:attribute name="margins"/>

timelimit
Type:
xs:anySimpleType
Use:
optional
XML Source (see within schema source)
<xs:attribute name="timelimit"/>

width
Type:
xs:anySimpleType
Use:
optional
XML Source (see within schema source)
<xs:attribute name="width"/>

xml:id
Type:
xs:anySimpleType
Use:
optional
XML Source (see within schema source)
<xs:attribute ref="xml:id"/>
Content Element Detail (all declarations; defined within this component only; 5/5)
code
Type:
xs:string, predefined, simple content
XML Source (see within schema source)
<xs:element ref="code"/>

postamble
Type:
anonymous complexType, mixed content
XML Source (see within schema source)
<xs:element minOccurs="0" ref="postamble"/>

preamble
Type:
anonymous complexType, mixed content
XML Source (see within schema source)
<xs:element minOccurs="0" ref="preamble"/>

stdin
Type:
xs:string, predefined, simple content
XML Source (see within schema source)
<xs:element minOccurs="0" ref="stdin"/>

tests
Type:
anonymous complexType, mixed content
XML Source (see within schema source)
<xs:element minOccurs="0" ref="tests"/>

XML schema documentation generated with FlexDoc/XML 1.12.5 using FlexDoc/XML XSDDoc 2.9.2 template set