Top "Xpath" questions

The primary purpose of XPath is to address parts of an XML document.

XPath OR operator for different nodes

How can I do with XPath: //bookstore/book/title or //bookstore/city/zipcode/title Just //title won't work because I …

xpath
Select parent element of known element in Selenium

I have a certain element that I can select with Selenium 1. Unfortunately I need to click the parent element to …

select xpath selenium parent
How can I convert a string to upper- or lower-case with XSLT?

How do you do case conversion in XSL? <xsl:variable name="upper">UPPER CASE</xsl:variable> &…

string xpath xslt case-conversion
How to use not contains() in xpath?

I have some XML that is structured like this: <whatson> <productions> <production> <category&…

xpath contains
can we use xpath with BeautifulSoup?

I am using BeautifulSoup to scrape a url and I had the following code import urllib import urllib2 from BeautifulSoup …

python xpath beautifulsoup urllib
How to write an XPath query to match two attributes?

Following Question: <div id="id-74385" class="guest clearfix" style="z-index: 999;"> Given above, If I want a XPath expression …

xpath
XPath to select element based on childs child value

Trying to select an element based on the value of one of it's childrens childrens Thinking the following but not …

xml xpath
Finding an elements XPath using IE Developer tool

Is there a way to find an element's XPath using IE Developer Tool?

internet-explorer xpath ie-developer-tools
How do I specify "not equals to" when comparing strings in an XSLT <xsl:if>?

Currently i have a xsl with following code where I'm trying print out "count" only if it is not equal …

xslt xpath
How to select following sibling/xml tag using xpath

I have an HTML file (from Newegg) and their HTML is organized like below. All of the data in their …

xml xpath lxml