LeerRijk ads some extra constraints. The code shown below (which satisfies the LeerRijk v2 requirements, by the way) may give the impression that it contains much more than the few additional elements shown in the table devoted to them. This originates from the fact that an element required by LeerRijk must be present, even if its containing element is optional. Thus, e.g., because competenceRijksoverheid is required, its parent programCompetences must be available as well.
Attention: in order to keep displayed code readable, even on small screens, some lengthy attributes have been replaced with an ellipsis (...); the full code is avaiable using the Download Code button.
<?xml version="1.0" encoding="utf-8"?>
<program ... >
<editor>info@presendata.nl</editor>
<expires xsi:nil="true" />
<format>1.6.4</format>
<generator>PresenData XML generator 1.4</generator>
<includeInCatalog>LeerRijk</includeInCatalog>
<inPublication>true</inPublication>
<lastEdited>2019-03-09T16:08:00</lastEdited>
<programAdmission>
<applicationOpen>true</applicationOpen>
<applicationType>individual</applicationType>
<paymentDue>up-front</paymentDue>
<requiredLevel>none</requiredLevel>
<startDateDetermination>direct start</startDateDetermination>
</programAdmission>
<programClassification>
<degree>certificate</degree>
<orgUnitId>pres</orgUnitId>
<programDuration unit="day">5</programDuration>
<programForm>full-time</programForm>
<programId>PRD-160</programId>
<programLevel>mbo+</programLevel>
<programLocation>Utrecht</programLocation>
<programType>training</programType>
<startingYear>2018</startingYear>
<targetFunctionRijksoverheid>F0</targetFunctionRijksoverheid>
<themeRijksoverheidLevel1>T6</themeRijksoverheidLevel1>
</programClassification>
<programCompetences>
<competenceRijksoverheid>C1</competenceRijksoverheid>
<competenceRijksoverheid>C2</competenceRijksoverheid>
</programCompetences>
<programContacts>
<contactData>
<contactName>Training and Software Development</contactName>
<email>training@presendata.nl</email>
<role>Software Development and Training</role>
</contactData>
</programContacts>
<programCurriculum>
<instructionMode>seminar</instructionMode>
<studyLoad period="program">40</studyLoad>
</programCurriculum>
<programDescriptions>
<programName xml:lang="nl">Web Development using the Zend Expressive Framework</programName>
<programSummaryText xml:lang="nl">A no-nonsense introduction to Zend Expressive</programSummaryText>
<programDescriptionText xml:lang="nl">Covers installation, requirements, structure and specialisation.</programDescriptionText>
</programDescriptions>
<programSchedule />
</program>
Not all specifics can be enforced by the XSD available for download at the EDU-DEX downloads page. Therefore, we strongly advise you to check your xml using the online EDU-DEX validator.
One notorious pitfall, however, remains the programName: although its maximum length is set to 200 characters, LeerRijk will only use the first 85. Another one is related to convey time data. Although the xml time datatype allows for incorporating time zone information, LeerRijk only accepts the hh:mm:ss part - time zone suffixes (Z, +HH:MM) will be disregarded.
For an overview of all LeerRijk specific issues, please refer to this page.