Top "Xpath" questions

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

Selecting a css class with xpath

I want to select just a class on its own called .date For some reason, I cannot get this to …

php html xml xpath web
How to use starts-with() , contains() and ends-with() in XPath to find the xml node innertext? in XPATH 1.0

<ArticleBackmatter> <Heading>Ethical standards and patient consent</Heading> <Heading>Ethical standards and …

xslt xpath xpath-1.0
What is the XPath expression to find only the first occurrence?

I used this Xpath expression "//span[@class='Big']" and got all elements in that page that are under <span&…

xml xpath expression
XPath selection by innertext

I'm trying to extract an element with a particular innertext from a parsed XML document. I know that I can …

xml xpath
use xpath to select elements with a set of multiple attributes/values

I have an XML document that i need to strip out particular pieces of data the xml document has a …

xml xslt xpath
Linux Bash XMLLINT with XPATH

Today I get to learn how to use xmllint properly. It does not seem to be well covered or explained. …

xml linux xpath xmllint
What is the difference between .// and //* in XPath?

While finding the relative XPath via Firebug : it creates like .//*[@id='Passwd']--------- what if we dont use dot at …

xml selenium xpath selenium-webdriver automated-tests
XPath select node with namespace

Its a .vbproj and looks like this <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <…

xml vb.net xpath xml-namespaces
Javascript get XPath of a node

Is there anyway to return an XPath string of a DOM element in Javascript?

javascript dom xpath
XPATH Multiple Element Filters

I have the following sample XML structure: <SavingAccounts> <SavingAccount> <ServiceOnline>yes</ServiceOnline> &…

xpath multiple-conditions