Top "Xpath" questions

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

Two conditions using OR in XPATH

I have a textbox, 'txtSearch'. I am using it to search people by Last Name. this is my code. var …

javascript xpath translate uppercase lowercase
How to ignore namespace when selecting XML nodes with XPath

I have to parse an XML document that looks like this: <?xml version="1.0" encoding="UTF-8" ?> <m:OASISReport …

xml xpath namespaces xml-namespaces
Xml Namespace breaking my xpath!

I have the following XML: <List xmlns="http://schemas.microsoft.com/sharepoint/soap/"> <Fields> <Field&…

xml xpath xml-namespaces
Best XPath tools

What tools are you guys using for XPath and why? Right now I'm using SketchPath because its totally awesome, but …

xpath devtools
How to get a particular attribute from XML element in SQL Server

I have something like the following XML in a column of a table: <?xml version="1.0" encoding="utf-8"?> <…

sql-server xml xpath xquery
XPath wildcards on node name

I want to grab a node from my XML file, the node has a prefix such as "latest_", but this …

xml xslt xpath
HtmlAgilityPack and selecting Nodes and Subnodes

Hope somebody can help me. Let´s say I have a html document that contains multiple divs like this example: &…

c# xpath html-agility-pack
How to get node value / innerHTML with XPath?

I have a XPath to select to a class I want: //div[@class='myclass']. But it returns me the whole …

xml parsing xpath html-parsing
How to add multiple test conditions in 'test' attribute expression of <xsl:if> tag

Is there any possibility to include multiple conditions in 'test' attribute expression in <xsl:if> tag of XSLT …

xslt xpath
Xpath expression with multiple predicates

I am trying to build a complex xpath expression which will answer the following condition. From the XML data below, …

xml xpath predicate