Join Joe Marini for an in-depth discussion in this video Defining a schema for our BusinessCard XML file, part of XML Essential Training.
- View Offline
- Exercise Files
…Now we're going to use X and O schema, to define a schema file for…our business card example. So over here in the Project Explorer, in…the chapter 10 folder, I have opened up the Example files for the schema example.…And here in the Eample Snippets, I've…scrolled down to chapter 10, Under XML SCHEMA.…Okay, so open up the business card…XML file, and open up the businesscard_start.XSD file.…
I've also included a finished version of the XSD file in…case you want to just jump ahead and try it out.…Alright so let's go back to the XML file.…And you can see here in the XML file this is the business card that…we've been using, up until now, and I've included a couple of attributes on here.…First is xmlns colon xsi and this is pointing to the schema…instance main space. And then, I've got another one called the…noNamespaceSchemaLocation, which is being defined as businesscard_start.xsd.…
And essentially this says, use the XSD file that's…located in the current directory where my XML file is.…So let's go over to the snippets.…
- 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?
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.