Download presentation
Presentation is loading. Please wait.
Published byWilla Horton Modified over 9 years ago
1
Embracing the Value of XML in Institutional Research Jim Few Center for Institutional Effectiveness Kennesaw State University http://ie.kennesaw.edu Association for Institutional Research 2005 Forum San Diego, CA Jim Few Center for Institutional Effectiveness Kennesaw State University http://ie.kennesaw.edu Association for Institutional Research 2005 Forum San Diego, CA
2
What is XML? Why should you care? What should you know? How can you use XML? What is XML? Why should you care? What should you know? How can you use XML? Agenda
3
W3C: http://www.w3schools.com/xml/xml_whatis.asp What is XML? The eXtensible Markup Language (XML) is a non- proprietary standard that provides a format for describing structured data. XML was designed to describe, store, carry, and exchange data in a unified manner. XML provides the ability to liberate data from proprietary data silos. XML separates data from presentation. The eXtensible Markup Language (XML) is a non- proprietary standard that provides a format for describing structured data. XML was designed to describe, store, carry, and exchange data in a unified manner. XML provides the ability to liberate data from proprietary data silos. XML separates data from presentation.
4
What XML is Not A replacement for HTML A replacement for relational databases A programming language (e.g. Java, C++, VB) Terse A panacea A replacement for HTML A replacement for relational databases A programming language (e.g. Java, C++, VB) Terse A panacea
5
Text File Format ID Lname MnameFnameGender 83492 Clark F BettyF 89430 Bhatt SohamM 94032 Jones T JohnM 48392 Klein R KimF ID Lname MnameFnameGender 83492 Clark F BettyF 89430 Bhatt SohamM 94032 Jones T JohnM 48392 Klein R KimF
6
XML Format
7
Standard (Non-proprietary) Extensible Flexible Easy to share Web-friendly Separates data from presentation Far richer than flat text files Makes the structure of the document trivial, leaving the implementation and dialect up to you Standard (Non-proprietary) Extensible Flexible Easy to share Web-friendly Separates data from presentation Far richer than flat text files Makes the structure of the document trivial, leaving the implementation and dialect up to you Why Should You Care?
8
XML syntax is strict XML documents provide a self-describing syntax All XML elements must have a closing tag XML tags are case sensitive All XML elements must be properly nested All XML documents must have a root element XML syntax is strict XML documents provide a self-describing syntax All XML elements must have a closing tag XML tags are case sensitive All XML elements must be properly nested All XML documents must have a root element What Should You Know? W3C: http://www.w3schools.com/xml/xml_syntax.asp
9
Microsoft IBM Oracle SAS Adobe SAP Microsoft IBM Oracle SAS Adobe SAP Who Supports XML? Sun Microsystems BEA Business Objects W3C Computer Associates PeopleSoft Sun Microsystems BEA Business Objects W3C Computer Associates PeopleSoft Anyone who is a player in the computing world
10
Data Silos Oracle MS Excel MS Access HTML PDF MS Word Crystal
11
XML Facilitates Data Sharing Oracle MS Word Crystal MS Excel SQL Server Dreamweaver MS Access DB2 XML
12
Text Versus XML Student Record Nick Roberts 0001462395 143 Main St Clemson, SC 29634 26 3.4 3.8 Student Record Nick Roberts 0001462395 143 Main St Clemson, SC 29634 26 3.4 3.8 Roberts Nick 0001462395 143 Main St Clemson SC 29634 26 3.4 3.8 Roberts Nick 0001462395 143 Main St Clemson SC 29634 26 3.4 3.8
13
HTML Versus XML Student Record Nick Roberts 0001462395 143 Main St Clemson, SC 29634 26 Student Record Nick Roberts 0001462395 143 Main St Clemson, SC 29634 26 Roberts Nick 0001462395 143 Main St Clemson SC 29634 26 Roberts Nick 0001462395 143 Main St Clemson SC 29634 26
14
What is XML Schema? An XML schema defines: Elements that can appear in a document Attributes that can appear in a document Which elements are child elements The order of child elements The number of child elements Whether an element can be null or must include data Data types for elements and attributes Default and fixed values for elements and attributes An XML schema defines: Elements that can appear in a document Attributes that can appear in a document Which elements are child elements The order of child elements The number of child elements Whether an element can be null or must include data Data types for elements and attributes Default and fixed values for elements and attributes W3C: http://www.w3schools.com/schema/schema_why.asp
15
So, What is XML Schema? A schema describes the structure of an XML document using XML An XML schema manages the expectations of those sharing an XML document A schema enforces business constraints and ensures data validation For example, we can create a standard definition for social security number (data type is string, format=###-##-####, required field, etc.). A schema describes the structure of an XML document using XML An XML schema manages the expectations of those sharing an XML document A schema enforces business constraints and ensures data validation For example, we can create a standard definition for social security number (data type is string, format=###-##-####, required field, etc.). W3C: http://www.w3schools.com/schema/schema_intro.asp
16
XML Schema Example
17
What is XSL? XSL stands for eXtensible Stylesheet Language Think of XSL as a set of languages that can: Transform XML into XHTML Filter and sort XML data Format XML data based on the data value (e.g. displaying negative numbers in red) Output XML data to different media (e.g. web browsers, screens, print, or voice) XSL stands for eXtensible Stylesheet Language Think of XSL as a set of languages that can: Transform XML into XHTML Filter and sort XML data Format XML data based on the data value (e.g. displaying negative numbers in red) Output XML data to different media (e.g. web browsers, screens, print, or voice) W3C: http://www.w3schools.com/xsl/xsl_languages.asp
18
Student Record, Student Record, XSL Example
19
Share data across disparate applications, platforms and networks Abstract periodic data structure changes Single data source satisfies multiple uses Aggregate data from multiple sources into one file Render data from complex queries without latency Snapshot/Census data captures Shift database hit to off-peak times Manage security concerns Impress those reading your resume Share data across disparate applications, platforms and networks Abstract periodic data structure changes Single data source satisfies multiple uses Aggregate data from multiple sources into one file Render data from complex queries without latency Snapshot/Census data captures Shift database hit to off-peak times Manage security concerns Impress those reading your resume How Can You Use XML?
20
XML Document XML Workflows Database Schema Validation Stylesheet Transformation XML Document Print Document Web Browser Database XML Application
21
XML Document XML Workflow Example Database ASP.NET XSL Stylesheet Web Browser XML Generator
22
XML Multiple Data Sources Oracle SQL Server MS Access DB2
23
Questions? Comments? Thank You jfew@kennesaw.edu Center for Institutional Effectiveness Kennesaw State University http://ie.kennesaw.edu Questions? Comments? Thank You jfew@kennesaw.edu Center for Institutional Effectiveness Kennesaw State University http://ie.kennesaw.edu The End Thanks to Nick Roberts for being a dear friend, professional colleague, and valuable contributor to this presentation. Thanks to Randy Hinds for the use of his PowerPoint graphics.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.