From the course: XML Essential Training (2018)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Taking XPath for a spin

Taking XPath for a spin - XML Tutorial

From the course: XML Essential Training (2018)

Start my 1-month free trial

Taking XPath for a spin

- [Narrator] Okay let's take what we've learned about XPath so far and take it out for a spin on some sample XML data. I'm going to be using Visual Studio Code for this and if you chose not to use VS Code and you're using your own text editor, that's okay, you can just relax and watch. Or if you want to try out XPath for yourself, there are some pretty good online XPath testers. If you do a Google search on XPath tester you will find a variety of online XPath tools that you can use if you want to try this part. So assuming that you installed the XML developer plugin that we talked about earlier in the course, let's begin by opening up the business card, that XML file here in chapter five. This is the business card example we have been using throughout the course. To invoke the XPath tool in VS Code I will type command shift P and that will bring up the command pallet and I will type XPath. You can see the result I get is the evaluate XPath command so I will select that and I get an…

Contents