xml: an advanced guide

34
XML: An Advanced Guide Tim Bornholtz Holly Hyland Session 36

Upload: ojal

Post on 05-Feb-2016

39 views

Category:

Documents


0 download

DESCRIPTION

Session 36. XML: An Advanced Guide. Tim Bornholtz Holly Hyland. XML Registry and Repository. This session provides a training session on how to use the XML Registry and Repository for the Education Community. http://www.fsaxmlregistry.ed.gov. Development Steps. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: XML: An Advanced Guide

XML: An Advanced Guide

Tim Bornholtz

Holly Hyland

Session 36

Page 2: XML: An Advanced Guide

2

XML Registry and Repository

This session provides a training session on how to use the XML Registry and Repository for the Education Community.

http://www.fsaxmlregistry.ed.gov

Page 3: XML: An Advanced Guide

3

Development Steps

Identify education-related business process.

Contact PESC to register intent. Identify data elements currently in use. Review data elements for clarity and

usage. Match data elements with the XML

Registry and Repository for Education.

Page 4: XML: An Advanced Guide

4

Development Steps

Review to ensure compatible elements. Identify new elements. Submit to PESC Submission Advisory

Board for review. Develop schema according to business

rules and XML Technical Specification. Submit to PESC Submission Advisory

Board for final review.

Page 5: XML: An Advanced Guide

5

Page 6: XML: An Advanced Guide

6

Page 7: XML: An Advanced Guide

7

Page 8: XML: An Advanced Guide

8

Page 9: XML: An Advanced Guide

9

Page 10: XML: An Advanced Guide

10

Page 11: XML: An Advanced Guide

11

Page 12: XML: An Advanced Guide

12

Page 13: XML: An Advanced Guide

13

Page 14: XML: An Advanced Guide

14

Page 15: XML: An Advanced Guide

15

Page 16: XML: An Advanced Guide

16

Page 17: XML: An Advanced Guide

17

Page 18: XML: An Advanced Guide

18

Page 19: XML: An Advanced Guide

19

Page 20: XML: An Advanced Guide

20

Page 21: XML: An Advanced Guide

21

Page 22: XML: An Advanced Guide

22

Page 23: XML: An Advanced Guide

23

Page 24: XML: An Advanced Guide

24

Page 25: XML: An Advanced Guide

25

Creating a Schema from the Registry

Create an empty schemaSearch for the core componentsPaste the core components into the

schema

Page 26: XML: An Advanced Guide

26

XML Schema

<?xml version="1.0" encoding="UTF-8"?><xs:schema

targetNamespace="urn:edu:myschool:myschema:v1.0.0" xmlns="urn:edu:myschool:myschema:v1.0.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"

attributeFormDefault="unqualified">

<xs:element name=“RootElement"> </xs:element></xs:schema>

Page 27: XML: An Advanced Guide

27

Page 28: XML: An Advanced Guide

28

Page 29: XML: An Advanced Guide

29

Page 30: XML: An Advanced Guide

30

<?xml version="1.0" encoding="UTF-8"?><xs:schema><xs:element name=“RootElement"> <xs:complexType> <xs:sequence> <xs:element name="LastName" type="LastNameType"/> </xs:sequence> </xs:complexType></xs:element><!-- ===== CORE COMPONENT: LastNameType ===== --> <xs:simpleType name="LastNameContent">

<xs:restriction base="xs:string"> <xs:minLength value="1"/> <xs:maxLength value="35"/>

</xs:restriction> </xs:simpleType> <xs:complexType name="LastNameType">

<xs:annotation> <xs:documentation>This basic component specifies the last name or surname by which

a person is legally known. </xs:documentation> </xs:annotation> <xs:complexContent>

<xs:extension base="LastNameContent"> </xs:extension>

</xs:complexContent> </xs:complexType> </xs:schema>

Page 31: XML: An Advanced Guide

31

Page 32: XML: An Advanced Guide

32

Page 33: XML: An Advanced Guide

33

Page 34: XML: An Advanced Guide

34

Technical Assistance

We appreciate your feedback and comments. We can be reached at: Tim Bornholtz

Phone: 202.377.3465 Email: [email protected] Holly Hyland Phone: 202.377.3710 Email: [email protected]