Join Joe Marini for an in-depth discussion in this video XSLT and CSS, part of XML Essential Training.
…In this example, we're going to use XSLT and CSS together just to show…that they're not mutually exclusive, and you can use them both in your projects.…So open up the same example files from the previous exercise.…Let's open simpletransform.xml, simpletransform.xslt,…and also open up simpletransform.css.…You'll see here in the CSS file, I'm defining some stylesheets for the…body, the h1 tag, and an image in the document.…And we'll see the results of this in just a moment.…
Back in the snippets, copy this line which we used from the…previous example, and put it into the XML document to associate the stylesheet.…Next, go back into the snippets again and copy these lines from the template, put…them in the stylesheet, save. And one more time, back in the snippets.…Copy this line, the value-of line, put that into the template, and save.…So at this point, we pretty much rebuilt the first example.…
But now, let's go back to the snippets again.…Copy this link tag right here in the XSLT and CSS section.…And put that here in the template underneath the title tag,…
- 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.