Join Joe Marini for an in-depth discussion in this video Discovering document content, part of XML Essential Training.
[Narrator] Let's begin working with the DOM…by seeing how we can use the DOM APIs…to discover information that's in a document.…So here, in Visual Studio Code,…or whatever editor you're using,…in Chapter Four, open up DOMExample1_start and you can…see here that I've got a pretty simple HTML file.…Down here, in the HTML content, I've got an XML tag,…which I'm using to imbed XML content into the webpage.…And in case you're wondering, yes that is…perfectly legal to do within HTML.…
The browser will see the HTML tag and parse it…like any other tag, it just won't know what to do with it,…it won't do anything special with it.…Now, in real world usage, you probably…won't see XML used like this.…Typically, XML data will be the result of some…web service call or it will come from a database…or you retrieve it using Ajax,…and then operate on it separately.…But in the interest of keeping these examples simple…and self-contained, I'm just embedding the…XML content right here into the webpage.…Now I didn't have to use the name XML for the tag,…
- 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
Learn API Documentation with JSON and XMLwith Peter Gruenbaum1h 18m Intermediate
1. Getting Started
2. XML Overview
3. Working with XML
4. Manipulating XML with the DOM
5. XML and XPath
6. XML and XSLT
7. XSLT Examples
8. Document Type Definitions
9. XML Schema
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.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.