XML Tutorial: Create, Validate And Transform XML Documents
3.8 (26 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,886 students enrolled
Wishlisted Wishlist

Please confirm that you want to add XML Tutorial: Create, Validate And Transform XML Documents to your Wishlist.

Add to Wishlist

XML Tutorial: Create, Validate And Transform XML Documents

XML programming course for beginners. Learn to create valid XML documents for Android, Big Data, Web Development, etc.
3.8 (26 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,886 students enrolled
Created by Eduardo Marchuet
Last updated 11/2016
Current price: $12 Original price: $30 Discount: 60% off
3 days left at this price!
30-Day Money-Back Guarantee
  • 4.5 hours on-demand video
  • 1 Article
  • 13 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion

Training 5 or more people?

Get your team access to Udemy's top 2,000 courses anytime, anywhere.

Try Udemy for Business
What Will I Learn?
  • Read and understand XML files
  • Write well-formed, valid XML documents
  • Use the most popular XML editors
View Curriculum
  • A computer and Internet connection

XML programming course for beginners with examples.

This XML tutorial aims to get you started with the foundations of XML development.

Did you know that if you google "XML" it returns more than 500.000.000 results? That's more than what you get by googling "NBA"...

You can improve your programming skills and curriculum vitae with a small effort by completing this course in just a few hours.

In this course we will go through all the main concepts needed to understand and write XML documents. At the end of the course you will be able to compose XML documents that comply with the requisites of your software projects: web projects, web services, desktop applications, Android projects, Big Data projects, etc.

The course avoids the use of a theoretical perspective and focuses in teaching the theory by using a practical approach in the form of examples.

Also, the fact that the course is shorter than five hours means that you will achieve an intermediate knowledge of XML in less than five hours! It would be a nice addition to your curriculum vitae, wouldn't it?

Let me give you a heads up and let you know that I will be adding content over time so the added value of the course will grow... and so will it's price!

And of course, I will be answering any doubt you may have so that you can start composing valid XML documents ASAP!

What are you waiting for? Join the course now and improve your programming skills in less than five hours!!

Topics covered by Feb 2nd 2016:

  • XML Syntax
  • Well formed documents
  • DTD
  • General Entities
  • Parameter Entities
  • Namespaces
  • Schemas
  • Tools: XML Spy

[Updated: Feb 18th 2016]

  • Added lecture: Data Types in XML

[Updated: March 19th 2016]

  • Added resources: Sample XML Files to download

[Updated: April 11th 2016]

  • Added lecture: Installation of the free XML editor we will use in the course

[Updated: April 15th 2016]

  • New section +4 new lectures: XSLT Transformation

[Updated: August 20th 2016]

  • New section + 8 new lectures: Job Interview Questions
  • New section: Real Life Applications Of XML
  • 2 New lectures: XML In Android Development

[Updated: November 26th 2016]

  • New section + 9 new lectures: XQuery Fundamentals
Who is the target audience?
  • This course is for beginners who never had any contact with XML
  • This course is also for intermediate users who need a deeper knowledge on how XML works
  • Seasoned XML programmers, most likely, alread know everything this course has to offer
Compare to Other XML Courses
Curriculum For This Course
37 Lectures
2 Lectures 10:48

By the end of this lecture you will know why it is important to know XML, who is Eduardo Marchuet and what his experience with XML.

Preview 08:38

We'll quickly go thorugh the install process of the free editor we'll be using during the course.

Installing the free XML editor of choice
XML, XML and more XML
9 Lectures 01:40:19

In this lecture you will learn the basic tags you need to compose your first XML document.

Preview 13:46

By the end of this lecture you will know the rules to write a well-formed XML document and how to check it yourself.

Preview 06:25

Let's check the basics!

5 questions

In this firs lecture covering Document Type Definitions you will learn to apply structure and constraints to your XML document.

Document Type Definition (DTD) I

In this second lecture covering Document Type Definitions we will add extra concepts and applications of DTDs to our example.

Document Type Definition (DTD) II

A quick review on what we learnt about DTDs.

5 questions

General Entities are bricks you can use to build an XML wall, in this lesson you will get to know them using, as always, an example.

Preview 11:33

Parameter Entities are often lost in the infinity. Here I will introduce them to you and show you when they can be useful.

XML Concepts: Parameter Entities

Just a couple of questions about entities...

3 questions

By the end of this lesson you will know what are namespaces, how and when to use them.

Preview 06:43

Schemas are another way to add constraints and structure to your XML documents, in this lesson you will learn how to create them and link them to your XML document.

XML Concepts: Schemas

In this lecture we go over the XML data types tree so that at the end of the video you are able to research by yourself what data types are the best suited to be used in your XML Schemas.

XML Concepts: Data Types

Did you learn anything at all about schemas? Lets find out...

5 questions
XML For Data Visualization: XSLT
4 Lectures 26:04

Before we start the demo we need to have a basic but good XML document to transform. That's what we'll do here.

XSLT Transformation: Preparing the XML Document To Be Transformed.

We will take a look at the HTML that we want to generate in order to make the next steps easier.

Preview 08:35

In this lecture we will create a very basic set of transformation rules that will generate the expected HTML as result.

XSLT Transformation: Creating The Transformation Rules

This is the final step of the demo. Here we finally see the result of the transformation and analyze the HTML output.

XSLT Transformation: Checking the HTML Output.
Real Life Applications of XML
2 Lectures 17:30

In this lesson we will learn the concept of "layout" in the specific context of Android Application Development, we will compare the two different ways we have to generate layouts and we will go through some very basic examples of XML code with the corresponding screen output.

XML In Android App Development I

Here we'll take a sneak peek at how XML attributes work in Android Apps , common layouts in Android Apps and a few samples with their corresponding screen output.

XML In Android App Development II
XQuery Fundamentals
9 Lectures 43:13

In this lesson we'll see what is XQuery, what it is XQuery used for and mention a few examples of real life applications.

XQuery: What is XQuery?

Here we go step by step through the process of installing the XQuery editor that we will be using during this section.

XQuery: Installing the Editor

We need a database to run our queries against. Let's find and explore one!

XQuery: Opening the XML Database

In this lecture we build a few very basic queries and run them against the database.

Preview 05:39

Just a little bit more of complexity.

XQuery: Building Our Second Query

FLWR queries are the most used kind of query among XQuery developers, here we discover what's all the fuzz about!

XQuery: Building Our First FLWR Query

Often times we need to transform the data we retrieve so that it is structured in a very different way or even to build completely different files like XHTML, HTML, XSLT, XML or any other kind of document. Here we see the  principle behind how all this can be achieved.

XQuery: Working with the Output of Our Queries

In this lesson we will experiment with a few functions that help us to handle and work with the value of the nodes and also we will see how a conditional statement is structured.

XQuery: Strings and Conditionals

We'll see how to save the output generated by our query into a file at a specific path.

XQuery: Saving the Output as a File
Prepare For A Job Interview - XML Questions
9 Lectures 01:00:08

I have built a list of around 70 interview questions that you could potentially face at a job interview. I just want you to be aware of the sort of questions you may have to answer. I'll go through the answers without getting into depth, the goal is for you to check whether you are ready or not to face them.

Preview 03:15

Job Interview Questions: Disclaimer

  1. What is XML?
  2. What is the version information in XML?
  3. If XML does not have a closing tag will it work?
  4. Is XML case sensitive?
  5. Differences between XML and HTML
  6. Why is XML so popular?
  7. What is XML DOM?
  8. What .NET namespaces are used for XML?
  9. Explain different types of APIs
  10. Explain the XMLReader class
  11. Describe the XMLWriter class

Job Interview Questions I: General XML, DOM, XMLReader, XMLWriter

  1. What is XPATH?
  2. What is XSL-FO?
  3. What is an attribute?
  4. Empty elements
  5. Describe the role XSL can play to generate HTML pages from databases
  6. Structure of XSLT
  7. Advantages of DOM
  8. Example of DOM enabled parser
  9. What is an XML schema?
  10. Advantages of schemas over DTDs
  11. Extract the value of an attribute using XSLT
  12. Classes to generate a DOM structure
  13. Class to encode and decode from between CLR types and XSD types
Job Interview Questions II: XPATH, XSL-FO, DOM, XSL Transformations

  1. What is a DTD?
  2. Does XML want to replace HTML?
  3. What is XSLT?
  4. What makes an XML document well formed?
  5. What are the naming conventions for XML tags?
  6. Does XML preserve white spaces?
Job Interview Questions III: DTD, XSLT, General XML

  1. What is a markup language?
  2. What are the features of XML?
  3. What are the advantages of XML DOM documents?
  4. What are the basic rules while writing XML?
  5. What is CDATA?
  6. How comments can be represented in XML?
  7. What are XML namespaces?
  8. What is an XML parser?
Job Interview Questions IV: General XML

  1. What is XSL?
  2. Who is responsible for XML?
  3. How is XML used for development?
  4. What is SGML?
  5. Can I execute a XML document?
  6. What are the special characters in XML?
  7. What software is available for XML?
  8. What is XLink? And XPointer?
  9. Graphics in XML
  10. How can I include conditional statements in XML?
Job Interview Questions V: XLink, XPointer, Graphics, Conditional Statements

  1. Benefits of XML
  2. What are nested elements?
  3. What is XQuery?
  4. Why are XML editors used?
  5. What is XML encoding?
  6. What is a simple element?
  7. What is a complex element?
Job Interview Questions VI: XQuery, General XML

  1. Types of XML parsers
  2. Root elements
  3. What are XML signatures?
  4. What is a Data Island?
  5. What is DiffGram?
  6. Interfaces of SAX
  7. Relevance of ElementFormDefault
  8. What is XMLA?
  9. How to add CSS to XML?
Job Interview Questions VII: SAX, Parsers, ElementFormDefault, XMLA, CSS
Extra Topics
1 Lecture 03:48

XML Spy is probably the most popular paid tool for XML edition. In this lesson I will show you how to download and install it.

Preview 03:48
1 Lecture 03:05

Yes... the final lecture. Here I will quickly review what we have learnt in the course and say good bye... for now :)

Course Wrap Up
About the Instructor
Eduardo Marchuet
4.1 Average rating
40 Reviews
2,065 Students
2 Courses
Consultant, IT Manager, Project Manager, Business Analyst

Hello there!

I would like to give you a hint of my experience and why I can teach what I teach. I have been working since 2005 in software-related positions, mainly as Analyst and Developer. And let me tell you something... sometimes I was required to use PHP, some times C#, some times, Java.... but there are only two languages that have been present in all these jobs, no matter when nor where: XML and SQL. I think SQL is quite better known than XML so, for the time being, I'll stick to help people understand how XML works. 

Here a summary of my work experience:

Software Analyst & Developer

With a degree in Information Systems Engineering by the Polytechnic University of Valencia, I have worked as Software Analyst & Developer from 2005 until 2013, working for small local companies at first but also working for the Ford Motor Company during the last year and a half of his life as analyst-developer.

Project Manager

While working for Ford I had the chance to climb up a bit the corporate ladder by moving to Madrid to work as Project Manager for Wolters Kluwer Financial Services, managing a Software Project for the Asian market.

IT Manager

Again, after a while, I had the chance to take a higher responsibility role as IT Manager for a small logistics company close to Valencia, my hometown.

Senior Software Analyst & Developer

Being IT Manager was fun but it was extremely time consuming, leaving almost no room to personal projects so a change was in order. Now I am a Senior Analyst and Developer at a national-level franchise, this allows me to enjoy the craft I always felt attracted to (software development) but also leaves time to other endeavours like online teaching.

Freelance Consultant

From time to time I work as a freelance consultant for small and medium size companies to help them with IT related matters such as defining online strategies for diverse purposes, developing extranets, automating administrative procedures, upgrading obsolete IT infrastructure, bridging proprietary software with standard commercial software, etc.