Courses Courses Arts and Design Arts and Design Animation Graphic Arts Photography Web Design Business Business Accounting Administrative Communication Finance Marketing and Sales Operations Project Management Small Business Soft Skills Career Online High School Career Online High School Online High School Diploma Computer Applications Computer Applications Autodesk Microsoft QuickBooks Windows Computer Science Computer Science Programming Construction and Trades Construction and Trades Construction Environmental and Energy Trades Health and Fitness Health and Fitness Alternative Medicine Dental Fitness Medical Veterinary Wellness Hospitality Hospitality Hospitality Service Information Technology Information Technology Cloud Computing Networking Other Security Language Language Languages Legal Legal Legal Studies Math and Science Math and Science Mathematics and Science Teacher Professional Development Teacher Professional Development Child Development Classroom Technology Math and Science Reading and Writing Test Prep Test Prep Exam Prep Writing Writing Writing and Editing Skill Map Resources Resources About ed2go Externship Programs Financial Assistance Find a School Blog MyCAA

CONTACT US

(855) 520-6806

See all results for ""

See All Courses

ed2go Computer Science Programming Introduction to XML
Return to Programming
xml-language

Introduction to XML

XML is today's most popular way to store and send information. In this course, you'll master the essentials of XML through easy-to-follow, real-world examples. Even if you've never tried computer programming, you'll discover how quickly you can learn to produce powerful "code." By the end of this course, you will be surprised at how fun programming can be!

You will learn all the essential elements of programming like variables, loops, and branching. Using a full-featured design editor, you'll see how to build efficient, professional-looking user interfaces. You will explore all the main XML techniques - XPath, XSL, schemas, namespaces, DOM, and SAX. You'll practice using XML to search, manipulate, validate, and merge XML files and use SVG for displaying graphics like charts, drawings, and diagrams. When you've finished this course, you will understand how XML simplifies computer programming, and you'll have built a surprisingly sophisticated cookbook program that displays, modifies, searches, imports, and deletes recipes stored in XML format. This is your first step toward writing custom programs or furthering your career!

6 Weeks / 24 Course Hrs
Currently Enrolling

Offered in Partnership with your Preferred School

ed2go

Why this school? It's been chosen based on your location or if you've visited this school's website. Change School

Learning Method

Instructor-led

Confirm your Start Date in Cart

Starting January 15 | February 12

Introduction to XML

Details + Objectives

Course Code: ixm

What You Will Learn
  • Learn all the essential elements of programming - such as variables, loops, and branching
  • Explore all the main XML techniques - XPath, XSL, schemas, namespaces, DOM, and SAX
  • Learn to present raw data attractively and efficiently in browsers using XSL style sheets
  • Discover how to reuse basic code to create any kind of XML data management program
How the course is taught
  • Instructor-led course
  • 6 weeks in duration
  • Courses begin each month
  • 2 lessons released each week
  • 24 course hours
How you will benefit
  • Take your first step toward writing custom programs or furthering your career
  • Gain confidence in your ability to use XML - the most popular way to store and send information
  • Surprise yourself with how quickly and easily you can learn and apply powerful programming techniques

Outline

Expand All
Creating Your First XML Document

In this first lesson, you'll install and personalize one of the greatest bargains in computer programming—Microsoft's free, yet powerful, Visual Studio (VS) Express. After decades of fine-tuning, the VS programming suite is widely considered one of the most efficient ways to communicate with computers. You'll use the VS XML editor to create your first XML document. (The editor shows you any mistakes and even writes half the code for you!) And by the end of the lesson, you'll discover that programming can be both easy and fun. You'll be on your way to using XML in your personal projects or in your career.

Mastering the Basics of XML Documents

In this lesson, you'll explore the rest of the fundamentals of XML. You'll compare XML and HTML and examine the main similarities and differences between the two languages and look at adding comments and attributes in XML. When you're finished with those fundamentals, you'll begin to create a cookbook project using Visual Studio.

Understanding Computer Programming

This lesson is all about programming. You'll explore the most common programming techniques, including creating variables, setting up loops, and telling the program how to make decisions by branching to alternative sections of code. You'll also learn how to use the editor's Design window to align and resize controls. The goal is to make your program's user interface look clean and professional. Finally, you'll write your first serious XML programming—going through your cookbook document one recipe at a time (looping) and copying each recipe's title into a listbox so your users can select whatever recipes they want to see. During this lesson, you'll discover just how much fun programming can be!

Formatting XML With Cascading Style Sheets

It's time to take control of your XML formatting. In this lesson, you'll focus on ways to make XML look good when people view it in browsers. You'll specify exactly how you want your XML data displayed. You'll create style rules about color, position, size, and typeface (font) to make your content look great on a Web page. Finally, you'll add code to the cookbook program that displays a recipe's instructions when the user clicks its title.

Formatting With XSL

This lesson introduces an important XML feature: XSL, or Extensible Style Sheet Language. You'll learn to present raw data attractively and efficiently in browsers using XSL style sheets. Then, you'll explore transforming your XML data by sorting its elements alphabetically and displaying them in a table as a numbered list. You'll also learn how to add a search feature to your cookbook project.

Searching With XPath

This lesson will discuss the fundamentals of XPath, XML's query language. You'll see how to search through the data in an XML document to locate a particular element, copy the element into a listbox, and then delete it from the XML document. You'll also practice using two invaluable learning and debugging tools: breakpoints and single-stepping.

Transforming XML With XSLT

If you've been wanting to know more about XSLT, this is your chance to learn how to use it. You'll find out how to use XSLT to transform XML structures and how to change an XML file into CSV—comma separated values, a format used to store tables like spreadsheets. You'll practice other transformations such as adding, deleting, and renaming elements in an XML document. You'll also see how to use the Visual Studio editor's XSLT features. Finally, you'll add a needed feature to the cookbook project: refreshing the list of titles.

Validating With Schemas

This lesson shows you how to make sure that an XML document is valid. In other words, you'll compare an XML file to a schema file that describes the XML's correct structure and the types of data it must contain. Validation goes beyond the simple concept of a "well-formed" document, which only examines simple errors like missing end tags. But because creating validation files by hand can be complicated and tedious, you'll use the automatic schema generator built into VS. Then, you'll write a custom VB validator program of your own. And finally, you'll make the cookbook project even easier to use by writing code that adds new recipes with one click of an Import button.

Exploring XML Graphics

In this lesson, you'll learn to store and display XML graphics. First, you'll work with SVG, an XML format that specializes in creating lines, shapes, color, special text effects, and geometric drawings. SVG is especially useful when you want to display charts, drawings, or diagrams. Then, you'll explore how to display bitmaps, which are photographic images stored on the hard drive already completely rendered. Last but not least, you'll learn some techniques that radically improve the cookbook program's UI.

Managing Namespaces

This lesson will focus on namespaces—the XML technique that avoids ambiguity when two element tag names are identical but refer to different things. This happens when you try to merge two or more XML documents: A grocery store means one thing by the tag apple, but a computer store means something else. You'll learn how to attach a unique web page address (a URL) to a set of tags to avoid this name collision problem. You'll also see how programmers use namespaces in other areas of computing, such as separating commands into individual code libraries. Then you'll add a feature to the cookbook program that allows the user to modify a recipe and automatically save the changes to the XML file!

Creating a Homework Quiz Project

In this lesson, you'll look at two related programs—one that translates user input into XML, and another that displays the XML data in the form of a quiz. You'll learn how to use both programs, creating practice quizzes for students or anyone facing a test.

Creating a Coin Collection Program

In the final lesson, you'll explore the two main ways to manage XML data—DOM and SAX. DOM loads the whole XML document into the computer's memory all at once, permitting random-access to the data. SAX, the alternative approach, streams data, leaving only a little in memory at a time. SAX is most useful when you're dealing with immense XML files, but SAX's sequential access (it moves forward-only) makes modifying the XML structure more difficult. You'll also transform the cookbook program into a coin collection program—a searchable notebook that can even display photos of each coin. You'll see how to reuse basic code to create any kind of XML data management program—a stamp collection, family scrapbook, you name it!

View All Sections

Instructors & Support

Richard Mansfield

Richard Mansfield is a best-selling author and widely recognized expert on computer programming. He holds a master's degree in English from the University of California, Santa Barbara. He has written numerous articles and columns on computer topics, and was the editor of Compute! Magazine. In addition, he has authored or co-authored 44 books, including the best sellers Machine Language for Beginners (Compute!) and The Visual Guide to Visual Basic (Ventana). His more recent titles include Creating Web Pages for Dummies (co-authored, Wiley), XML for Dummies: All-in-One Desktop Reference (co-authored, Wiley), Mastering VBA for Office 2019 (Sybex), and Programming: A Beginner's Guide (McGraw-Hill). Richard's books have sold more than 600,000 copies worldwide and have been translated into 12 languages.

Requirements

Requirements

Prerequisites:

There are no prerequisites to take this course. Programming experience is not required, just an interest in finding out how easy and fun programming can be!

Requirements:

Hardware Requirements:

  • This course is not suitable for Mac users unless you have a Windows emulator such as Parallels installed to run the Windows OS on your Mac OS X machine.

Software Requirements:

  • Windows XP or later.
  • Browser: The latest version of Google Chrome or Mozilla Firefox are preferred. Microsoft Edge is also compatible.
  • Microsoft's free Visual Studio Express or Visual Studio Community 2013 through 2019 versions. You'll install this Visual Studio software during Lesson 1.
  • Adobe Flash Player. Click here to download the Flash Player.
  • Adobe Acrobat Reader. Click here to download the Acrobat Reader.
  • Software must be installed and fully operational before the course begins.

Other:

  • Email capabilities and access to a personal email account.
Instructional Materials

The instructional materials required for this course are included in enrollment and will be available online.

FAQs

Expand All
When can I get started?

A new session of each course opens each month, allowing you to enroll whenever your busy schedule permits.

How does it work?

Once a course session starts, two lessons will be released each week for the six-week duration of your course. You will have access to all previously released lessons until the course ends.

How long do I have to complete each lesson?

The interactive discussion area for each lesson automatically closes two weeks after each lesson is released, so you’re encouraged to complete each lesson within two weeks of its release.

What if I need an extension?

The final exam will be released on the same day as the last lesson. Once the final exam has been released, you will have two weeks plus 10 days (24 days total) to complete the final and finish any remaining lessons in your course. No further extensions can be provided beyond these 10 days.

Browse All

Reviews