Top "Xpath" questions

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

Xpath for href element

I need to click on the below href element,which is present among similar href elements. <a id="oldcontent" …

selenium selenium-rc selenium-webdriver xpath
jquery select element by xpath

I have an xpath selector. How can I get the elements matching that selector using jQuery? I've seen https://developer.…

javascript jquery xpath
How to execute XPath one-liners from shell?

Is there a package out there, for Ubuntu and/or CentOS, that has a command-line tool that can execute an …

xml shell xpath cross-platform
XPath - Difference between node() and text()

I'm having trouble understanding the difference between text() and node(). From what I understand, text() would be whatever is in …

xml xpath expression
How to query values from xml nodes?

i have a table that contains an XML column: CREATE TABLE Batches( BatchID int, RawXml xml ) The xml contains items …

sql-server sql-server-2005 xpath sqlxml
XSLT - How to select XML Attribute by Attribute?

this is the structure of my source xml: <root> <DataSet Value="A"> <Data Value1="1" Value2="…

xml xslt xpath xml-attribute
How do I select child elements of any depth using XPath?

Suppose I have this (simplified): <form id="myform"> <!-- some input fields --> <input type="…

xpath
Locating child nodes of WebElements in selenium

I am using selenium to test my web application and I can successfully find tags using By.xpath. However now …

java selenium xpath webdriver
How to set "value" to input web element using selenium?

I have element in my code that looks like this: <input id="invoice_supplier_id" name="invoice[supplier_id]" …

java selenium xpath selenium-webdriver selenium-chromedriver
Concatenate multiple node values in xpath

I have a XML that looks like this <element1> <element2> <element3> <element4>…

xml xslt xpath xquery spring-el