Presentation is loading. Please wait.

Presentation is loading. Please wait.

Assignment for Understanding XML and XPath. You will learn 2 Finding objects in a web page Understanding what makes them unique Writing an XPath expression.

Similar presentations


Presentation on theme: "Assignment for Understanding XML and XPath. You will learn 2 Finding objects in a web page Understanding what makes them unique Writing an XPath expression."— Presentation transcript:

1 Assignment for Understanding XML and XPath

2 You will learn 2 Finding objects in a web page Understanding what makes them unique Writing an XPath expression to define them Using Firebug & FirePath to validate the expression

3 Assignment 3 1.Using Firefox, navigate to: http://nxc.co.il/demoaut/pages/xpath.phphttp://nxc.co.il/demoaut/pages/xpath.php 2.Open Firebug 3.Write unique XPath expressions to identify the following objects: All Toyota vehicles "I am looking for an element (node) called vehicle, That has an attribute called make The attribute called make has a value of Toyota." Only red cars The Honda Civic The silver Silverado truck All vehicles Only vehicles with an MPG of 50 miles per gallon Only Yamaha Motorcycles The Assignment

4 Resources 4 Sample site: http://nxc.co.il/demoaut/pages/xpath.php References Working with Object Spy & XPath https://community.perfectomobile.com/posts/914140 XML Tutorial http://www.w3schools.com/xml/ http://www.w3schools.com/xml/ XPath Tutorial http://www.w3schools.com/XPath/

5 Thank You


Download ppt "Assignment for Understanding XML and XPath. You will learn 2 Finding objects in a web page Understanding what makes them unique Writing an XPath expression."

Similar presentations


Ads by Google