- [Speaker] Okay, we've reached the point now…where we can start working with our first XML file.…And I'm going to do that here in Visual Studio code.…Now again, if you're not using Visual Studio, that's fine.…Your favorite text editor will work just fine.…So here in VS code, I'm going to open up…the exercise files folder…and I'm going to click on Chapter 3…and let's open first XML file .xml.…And you can see that the contents are pretty much empty…except for the XML declaration.…
So let's add our first XML content.…So just write first tag.…Now close that off.…I'll close some text in there,…and I put in a comment.…Alright, so I'll save that.…So we have a root tag, which is called first tag…and that's right there on line 3…and down there on line 6 is the closing tag.…And inside the first tag element,…I've got some text and I've got a comment.…
So another way to modify the contents of our file…let's save and let's go out to the file system…and see how this looks in the browser.…So here in the file system,…I'm inside the folder for chapter 3.…
Author
Released
1/19/2018- What is XML?
- Advantages and drawbacks of XML
- Proper XML syntax
- Working with XML namespaces
- Styling XML tags
- Discovering and creating document content
- Manipulating XML content using XPath and XSLT
- Document type definitions and XML schema
Skill Level Beginner
Duration
Views
Related Courses
-
Java: XML Integration
with David Gassner4h 56m Intermediate -
Learn API Documentation with JSON and XML
with Peter Gruenbaum1h 18m Intermediate -
Python: XML, JSON, and the Web
with Joe Marini1h 38m Intermediate
-
Introduction
-
Welcome1m 2s
-
What you should know1m 24s
-
Exercise files1m 10s
-
Setting up the dev tools1m 2s
-
-
1. Getting Started
-
What is XML?3m 39s
-
XML technologies2m 8s
-
Describing data with XML2m 43s
-
Real world examples of XML4m 42s
-
-
2. XML Overview
-
Types of XML content7m 12s
-
Proper XML syntax2m 16s
-
Valid documents1m 45s
-
XML namespaces3m 24s
-
-
3. Working with XML
-
Our first XML file2m 15s
-
XML and CSS styles3m 4s
-
Styling XML tags3m 54s
-
Advanced CSS with XML3m 22s
-
-
4. Manipulating XML with the DOM
-
Quick intro to the DOM5m 42s
-
Discovering document content3m 17s
-
Creating document content7m 59s
-
Bringing it all together8m 41s
-
-
5. XML and XPath
-
What is XPath?5m 14s
-
Taking XPath for a spin5m 32s
-
-
6. XML and XSLT
-
What is XSLT?3m 27s
-
Using XSLT with XML3m 9s
-
-
7. XSLT Examples
-
Simple XSLT4m 11s
-
XSLT and CSS1m 43s
-
Repeating items5m 43s
-
Conditional logic7m 39s
-
Sorting data2m 49s
-
-
8. Document Type Definitions
-
What is a DTD?1m 45s
-
DTD syntax1m 41s
-
Declaring elements4m 51s
-
Declaring attributes3m 53s
-
-
9. XML Schema
-
What is XML schema?2m 4s
-
Anatomy of a schema1m 19s
-
Declaring elements10m 24s
-
Declaring attributes3m 34s
-
-
Conclusion
-
Next steps1m 4s
-
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Our first XML file