This series of five how-to exercises will walk you through the various methods available to extend the Ed-Fi XML Schema. The techniques outlined in the Ed-Fi Extensions Framework are applied to create a single extended core from which many interchanges may be derived, as depicted below.
Extended Core Schema
All restricted types, extended types, and new types are encapsulated in a new extended core XSD file.
To get started with this how-to example, create a base XSD file to house the extended core. Name the file EXTENSION-Ed-Fi-Extended-Core.xsd, include
the Ed-Fi-Core.xsd using the following code:
<?xml version=”1.0” encoding=”UTF-8”?> <xs:schema xmlns:xs=”http://www.w3.org/2001/XMLSchema” xmlns=”http://ed-fi.org/0200” xmlns:ann=”http://ed-fi.org/annotation” targetNamespace=”http://ed-fi.org/0200” elementFormDefault=”qualified” attributeFormDefault=”unqualified”> <xs:import namespace=”http://ed-fi.org/annotation” schemaLocation=”SchemaAnnotation.xsd”/> <xs:include schemaLocation=” Ed-Fi-Core.xsd”/> . . . </xs:schema> |
Extensions created in the following steps will be built in this file.
<a href="https://techdocs.ed-fi.org/pages/viewpage.action?pageId=12845832" class="aui-button aui-button-primary">Continue</a> |