Extensible Markup Language (XML) is a markup language used to describe the content and structure of documents. It is a device-independent and system-independent method of storing and processing texts in electronic form and is also the interchange and communication format used by many applications on the World Wide Web. XML allows users to define their own tags and attributes that can be easily processed and displayed across platforms. It incorporates ways of handling styles (Extensible StyleSheet Language, XSL), schemas (DTD or XML Schema), and search (XQuery & XPath). It has become one of the most widely adopted W3C standards and has been applied in various domains in academia and industry.

This 1.5 credit workshop will provide you with an intensive, hands - on introduction to the use of XML to represent documents on the Web. You should also gain a conceptual understanding of the structure, strengths, and weaknesses of XML. The content of this workshop covers XML, DTD, XML Schema, XPath, XQuery, and XSLT

Upon completion of this course, students will:

  • Become familiar with a range of topics related to XML, including validation schemas, transformation tools, and query methods and understand their use and limitation.
  • Be able to query XML documents using XPath and XQuery,
  • Be able to map XML documents using DTD or XML Schema validation,
  • Be able to transform an XML document into HTML using XSLT,
  • Be able to develop their own XML database.
 
 

Course OrGanization & Schedule


This course contains six weekly sessions, all which will include lecture, step-by-step demonstrations, and lab time. The following table outlines the schedule for this course.

Session Topic Readings Video
Session 1
(June 24)
XML Syntax
DTD Validation
Harold & Means p.28-59
Ray p.143-169
*What is DTD?
*DTD Syntax
*Declaring Elements
*Declaring Attributes
Session 2
(July 1)
NO CLASS
Session 3
(July 8)
XML Schema Validation Harold & Means p.278-309
Holzner p.201-216
Shepard p.135-152
Ray p.41-45
*What is an XML Schema
*Anatomy of a Schema
*Declaring Elements
*Declaring Attributes
Session 4
(July 15)
Querying XML with XPath and XQuery Walmsley p.1-11, p.26-38
Shepard p.181-208
Fawcett, Quin, Ayers p.216-236
XPath in XML
Querying XML with XPath
Querying XML with XQuery
Session 5
(July 22)
Transforming XML to HTML with XSLT Fawcett, Quin, Ayers p.239-303
Harold & Means p.144-161
Shepard p.337-369
*What is XSLT
*Using XSLT with XML
*Simple XSLT styling
*XSLT with CSS
*Repeating Items
*Conditional Logic
*Sorting XML data with XSLT
Querying XML with XSLT
Session 6
(July 29)
XML uses and technologies
Final Presentations

 

Readings/Resources

Readings can be found in the resources section of ONCOURSE according to session. Students are required to read only one of the readings each week, while the others can be used for reference when working on the final project. All readings are drawn from the following resources:

Students may also use the XML Essential Training with Joe Marini video at Lynda.com and YouTube videos to supplement or replace readings. To connect to the Lynda.com videos (denoted with an *), students must first authenticate via the IU link to Lynda.com, before clicking the videos links above. Videos not denoted with an * are YouTube videos and do not require authentication.

The following online resources may also be used for reference with XML questions.

Software

To create, edit, and query XML documents we will use the software Oxygen XML Editor from Syncro Soft SRL. This software is loaded on the machines in FA 137 and can be downloaded for out-of-class use from IUWare at https://iuware.iu.edu/Windows/Title/1732

 

Assignments & Grading

The final grade for this course will be made up of in-class/take home exercises (40%), a final project/presentation (50%), and class participation (10%). Grades will be posted via the ONCOURSE Gradebook Section.

Lab Exercises will be given out during lab session and will be completed in class. They will be turned in via the ONCOURSE assignment section.

Final Project will be a partner assignment. You will be asked to identify your partner for this assignment during the first session. The assignment is composed of both a written report and a presentation. Basic requirements of the project include the following:

The project will be graded based on the completeness of the schema, variety of data, difficulty and usefulness of queries, and readability and interest of presentation. Your final report should a written introduction to your data, description of you schema, and screen shots of your queries and XSLT depiction. Your presentation should include a power point (or similar) presentation describing your data and schema, demonstration of your queries, and presentation of your data via XSLT. Your final submission will be submitted as a zip file containing your report, data in XML format, schema file, XSLT file (and any CSS files needed to propertly display it). The Zip file will be will be submitted via the ONCOURSE assignment section

Assignment Schedue

Assignment Percentage of Final Grade Due Date
DTD Validation Exercise 10% June 27
XML Schema Validation Exercise 10% July 11
XPath Technologies Exercise 10% July 18
XSLT Exercise 10% July 25
Final Project 40% July 31
Final Project Presentation 10% July 29
Participation 10%


Assignment Submission

All lab exerecises should be submitted via ONCOURSE at the end of class, however the assignement will remain open until Saturday following class if students require extra time. Work turned after that time will be penalized at the discression of the instructor. To receive a passing grade in this course, you must turn in all lab excersise and complete the final project including the presentation. You cannot pass this course without doing all of the assigned work however, turning in all of the work is not a guarantee that you will pass the course.

If you cannot submit an assignment or cannot deliver a presentation on the date it is due, it is your responsibility to discuss your situation with the instructor, preferably in advance.


SLIS Grading Policy

The following definitions of letter grades have been defined by student and faculty members of the Curriculum Steering Committee and have been approved by the faculty as an aid in evaluation of academic performance and to assist students by giving them an understanding of the grading standards of the School of Library and Information Science.

A 4.0 Outstanding achievement. Student performance demonstrates full command of the course materials and evinces a high level of originality and/or creativity that far surpasses course expectations.
A- 3.7 Excellent achievement. Student performance demonstrates thorough knowledge of the course materials and exceeds course expectations by completing all requirements in a superior manner.
B+ 3.3 Very good work. Student performance demonstrates above-average comprehension of the course materials and exceeds course expectations on all tasks as defined in the course syllabus.
B 3.0 Student performance meets designated course expectations and demonstrates understanding of the course materials at an acceptable level.
B- 2.7 Marginal work. Student performance demonstrates incomplete understanding of course materials.
C+ 2.3 Unsatisfactory work. Student performance demonstrates incomplete and inadequate understanding of course materials.
C 2.0
C- 1.7 Unacceptable work. Coursework performed at this level will not count toward the MLS or MIS degree. For the course to count toward the degree, the student must repeat the course with a passing grade.
D+ 1.3
D 1.0
D- 0.7  
F 0.0 Failing. Student may continue in program only with permission of the Dean.

 

Course Policies

Incompletes:

Each student is expected to complete all coursework by the end of the course. A grade of incomplete will be assigned only when exceptional circumstances warrant.


Academic Dishonesty:

There is extensive documentation and discussion of this issue in the Indiana University Code of Student Ethics. Of particular relevance is the following section on plagiarism.

Plagerism:

A student must not adopt or reproduce ideas, words, or statements of another person without appropriate acknowledgement. A student must give credit to the originality of others and acknowledgeable an indebtedness whenever he or she does any of the following:

a. A student must not adopt or reproduce ideas, opinions, theories, formulas, graphics, or pictures of another person without acknowledgement.

b. A student must give credit to the originality of others and acknowledge indebtedness whenever.

1. Directly quoting another person’s actual words, whether oral or written;

2. Using another person’s ideas, opinions, or theories,

3. Paraphrasing the words, ideas, opinions , or theories or others whether oral or written;

4. Borrowing facts, statistics, or illustrative material; or

5. Offering materials assembled or collected by others in the form of projects or collections without acknowledgment.


The Student Code of Conduct can be found at: http://www.iu.edu/~code/code/responsibilities/academic/index.shtml

Indiana University and the Department of Information and Library Science policies on academic dishonesty will be followed. Students found to be engaging in plagiarism, cheating and other types of dishonesty could receive an F for the course.

Collaboration

Course assignments are designed to help you gain practical experience. You are encouraged to help each other throughout this course. However, the work you submit must be your own. Any student who submits work completed by someone else will receive a 0 score for that assignment and may receive an F for the course.

Attendance:

Given that there are only six sessions in this course, it is expected you will attend all class sessions. If you cannot attend class, you must notify the instructor in advance. Please notify the instructor at the beginning of the course if you know you will not be able to attend a given session because of prior commitments or religious observation. Unexcused absence will factor into the participation part of your final grade and make-up assignments will only be granted for excused absences.


Personal Technologies:

You are welcome to bring laptops to class and use them instead of the computers in the lab if that is more comfortable for you. However, it is not appropriate to surf the web, check email, or otherwise perform non-course related activities during class on either you own computer or lab computers. This also applies to the use of cell phones, tablets or other personal technologies. Students engaged in either email or texting will be asked to either stop or leave the class session.


Student with Disabilities:

Students who believe the they have a disability that requires an accommodation for full participation in this course are encouraged to talk with the instructor and/or contact IU Disability Services for Students at http://studentaffairs.iub.edu/dss/