About 1,810,000 results
Open links in new tab
  1. xml - How to execute XPath one-liners from shell? - Stack Overflow

    Mar 17, 2013 · xpath from XML::XPath returns too much noise, -- NODE -- and attribute = "value". xml_grep from XML::Twig cannot handle expressions that do not return elements, so cannot …

  2. xml - XPath contains (text (),'some string') doesn't work when used ...

    XPath 1.0 behavior contains(arg1, substring): If the first argument evaluates to a node set, contains() will convert the node set to a string by taking the string value of the first node in the …

  3. xml - XPath: Get parent node from child node - Stack Overflow

    Jan 30, 2015 · XPATH/.. or XPATH/parent::* will select the parent nodes of the nodes selected by XPATH, but often it is better to simply select the parent directly without descending first to its …

  4. xml - XPath with multiple conditions - Stack Overflow

    Sep 2, 1985 · What XPath can I use to select any category with a name attribute specified and any child node author with the value specified. I've tried different variations of the path below …

  5. XPath query to get nth instance of an element - Stack Overflow

    Oct 24, 2010 · The contents of the file can change, but I know that I always want to get the second input element with the id attribute "search_query". I need an XPath expression to do …

  6. xml - Extract value of attribute node via XPath - Stack Overflow

    Jan 29, 2011 · How can I extract the value of an attribute node via XPath? A sample XML file is:

  7. xml - XPath: select text node - Stack Overflow

    Apr 27, 2015 · Do note that /html/text() doesn't select all text nodes in the document -- only the text nodes that are children (not descendents) of the top, html element. You probably want …

  8. c# - Using XPath to parse an XML document - Stack Overflow

    Sep 21, 2015 · 4 Your second xpath starts with //. This is an abbreviation for /descendant-or-self::node(), which you can see starts with /, meaning it searches from the root of the …

  9. How to read XML using XPath in Java - Stack Overflow

    May 11, 2010 · I want to read XML data using XPath in Java, so for the information I have gathered I am not able to parse XML according to my requirement. here is what I want to do: …

  10. Selecting attributes in xml using xpath in powershell

    I am trying to use powershell and XPath to select the name attribute shown in the below xml example.