Friday, 8 July 2011

XML 101: Lesson 6: How to Write a Schema for XML

If you can't see this email, click here

About.com


Lesson 6: How to Write a Schema for XML
Jennifer Kyrnin
From Jennifer Kyrnin, your Guide to Web Design / HTML
Schema is a relevant skill to have when learning XML. Not because you will use them often. Most formatting for XML works best with one of the XSL languages. However, schema offers a training benefit. You will learn some of the basics of element models and to interpret data types. These functions will help you understand what makes sound XML code. The concept of effective elements and nesting can be difficult to grasp. A brief examination of schema design can help explain the process.
Click on the Link Below to See the Class Online
Lesson 6: How to Write a Schema for XML

Things You Need:
Text Editor
A basic text editor like Notepad for Windows or TextEdit for Macintosh.

Learn XML
How to Write Your First XML Schema
Schema works within XML syntax rules. The file has a declaration statement and root element just like any XML code. This tutorial is the first to introduce you to the concept of namespaces. Formatting files for XML depends considerably on namespaces and uniform resource identifiers (URI). Understanding how they work is essential to learning to display XML data. This tutorial will get you started.

How to Pick an Element Type - Complex or Simple
Elements are the heart of XML. For formatting purposes, they come in two varieties: complex and simple. This tutorial explains the difference in elements and why the two styles are vital to proper XML design. When your XML education starts to move into more advanced processes, this understanding will help.

How to Break Down a Simple Element by Data Type
The concept of data types is something you see continuously in programming. Data types occur in formats that help to explain them. This tutorial provides a clear definition of each data type and its role. For extra credit, review 'How to Break Down a Complex Element by Data Type?' The second tutorial will refresh your knowledge of basic data and provide additional examples plus sample code.

Homework
Homework for Lesson 6
Open all XML practice files and write a schema declaration, statement, root element and namespace for each. Define the elements for your XML as either complex or simple and identify the data types.

If you would like help with the homework, or want to discuss the class, you can do so in the HTML / XML Forum.


Administrativa
Do You Need a Lesson Again?
This is a self-paced class. This means that if you need more time than a week to study the lessons, that is fine. And if you finish the lessons before the next lesson is mailed to you, you may request it early.


This email is written by:
Jennifer Kyrnin
Web Design / HTML Guide
Email Me | My Blog | My Forum
 
Missing a lesson? Click here.

About U. is our collection of free online courses designed to help you learn a new skill, solve a problem, get something done, or just learn more about your world. Sign up now, and we will email you lessons on a daily or weekly basis.
You are receiving this email because you subscribed to the About.com 'XML 101' email. If you wish to unsubscribe, please click here.

About respects your privacy: Our Privacy Policy

Contact Information:
249 West 17th Street
New York, NY, 10011

© 2010 About.com
 

Advertisement

No comments:

Post a Comment