R
R
ramzes69612014-09-29 13:06:44
XPath
ramzes6961, 2014-09-29 13:06:44

How to choose an XPath expression?

In this piece

<!-- css3-mediaqueries.js for IE less than 9 -->
<meta name="keywords" content="adidas,Originals,Mens,Turf,Royal,Trainers,Dark,Red/White at MandM Direct" /><meta data-brand="adidas Originals" data-thumb="http://resources.mandmdirect.com/ProductImages/_Default/A/O/1/AO1037_1_Thumb.jpg" data-image="http://resources.mandmdirect.com/ProductImages/_Default/A/O/1/AO1037_1_Large.jpg" data-cat="Trainers" data-subcat="Trainers" data-rrp="64.99" name="ProductData" data-sellingpriceexcludingvat="37.49" data-productcode="AO1037" data-productname="adidas Originals Mens Turf Royal Trainers Dark Red/White" data-sellingprice="44.99" data-currency="GBP" /><meta name="description" content="Click here for adidas Originals Mens Turf Royal Trainers Dark Red/White at MandM Direct. adidas Originals suede retro trainers. . Cheapest prices online. Save up to 75% off your favourite brands online." /><meta http-equiv="content-language" content="en_GB" /><title>
  Buy adidas Originals Mens Turf Royal Trainers Dark Red/White at MandM Direct
</title></head>
<body>

I need to pick up the xpath <meta data-brand="adidas Originals" to find the brand name in this example it's adidas Originals

Answer the question

In order to leave comments, you need to log in

2 answer(s)
_
_ _, 2014-09-29
@ramzes6961

/html/head//@data-brand

A
Alexander Borisovich, 2014-09-29
@Alexufo

https://addons.mozilla.org/en/firefox/addon/firepath/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question