Join Joe Marini for an in-depth discussion in this video Proper XML syntax, part of XML Essential Training.
…XML syntax is a little more strict than what you…might be used to if you're used to working with HTML.…So, let's cover the basic rules of XML syntax here.…First, XML documents must have a single root tag.…They have to have one, it's required.…And if you remember back to the business card example,…the BusinessCard tag was the root tag in that particular document.…XML documents…must also be what's called well-formed.…In other words, there are certain syntax rules that XML documents have to meet.…
The first one is that empty tags had to…be closed with a slash before the closing angle bracket.…Now, this is different from HTML, for example, where image…tags are empty, but they don't have that trailing slash.…And the reason is because the browser knows what HTML is.…It knows there's a tag called image, and it knows…that it's empty.…XML, however, remember, you get to make up your own tags.…And the program that's parsing the XML may not know what your tag is.…So you have to indicate that a particular tag is empty…
- What is XML?
- The advantages and drawbacks of XML
- Proper XML syntax
- Working with namespaces
- Styling XML tags with CSS
- Extracting and manipulating data
- Taking XPath and XSLT for a spin
- Creating document type definitions and schema definitions
Skill Level Beginner
1. Getting Started
2. How Developers Use XML
Real-world examples of XML6m 21s
3. Basic Rules of XML
4. Starting to Work with XML
5. Using the DOM to Manipulate XML
6. XML and XPath
7. XML and XSLT
8. XSLT Examples
9. Creating Document Type Definitions (DTDs)
10. Creating XML Schema Definitions
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.