From the course: XML Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Our first XML file - XML Tutorial
From the course: XML Essential Training
Our first XML file
- [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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.