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.
4.4 (20 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,775 students enrolled
$19
$30
37% off
Take This Course
  • Lectures 37
  • Length 4.5 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 1/2016 English

Course Description

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

What are the requirements?

  • A computer and Internet connection

What am I going to get from this course?

  • Read and understand XML files
  • Write well-formed, valid XML documents
  • Use the most popular XML editors

What 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

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Introduction
08:38

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.

02:10

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

Section 2: XML, XML and more XML
13:46

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

06:25

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

5 questions

Let's check the basics!

13:17

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

11:10

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

5 questions

A quick review on what we learnt about DTDs.

11:33

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.

16:22

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

3 questions

Just a couple of questions about entities...

06:43

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

12:36

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.

08:27

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.

5 questions

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

Section 3: XML For Data Visualization: XSLT
04:15

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

08:35

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

09:26

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

03:48

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

Section 4: Real Life Applications of XML
08:57

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.

08:33

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.

Section 5: XQuery Fundamentals
07:06

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

03:08

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

04:24

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

05:39

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

03:36

Just a little bit more of complexity.

05:58

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

05:02

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.

06:23

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.

01:57

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

Section 6: Prepare For A Job Interview - XML Questions
03:15

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.

Job Interview Questions: Disclaimer
Article
11:51
  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


16:54
  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
03:23
  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?
04:37
  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?
07:58
  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?
05:20
  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?
06:30
  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?
Section 7: Extra Topics
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.

Section 8: Conclusion
03:05

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

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Eduardo Marchuet, 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.

Ready to start learning?
Take This Course