Questions tagged as 'xpath'

1
answer

XPath query using dates

I have the following xml file <clientes> <cliente> <nombre> Juan Martinez </nombre> <fecha_inicio> 2016-10-2 </fecha_inicio> </cliente>...
asked by 22.11.2016 / 15:03
1
answer

Import an XML with a colon (:) in the xpath

I'm trying to import an XML into a Google spreadsheet with importXML . I can extract all the fields as: =importXML( URL, "//item/loquequiero") But with the fields that start with g: I get an error and I do not understa...
asked by 09.03.2017 / 17:53
2
answers

Problem when selecting node value in XML document

I need to assign the value of an element of an XML document to a variable, specifically the value of the name element Clave , I wrote this but it does not work since it does not find the node because the function does not return any value....
asked by 28.03.2018 / 02:22
1
answer

Xpath with java, extract name

I'm starting with Xpath in java and I'm trying to get information from xml tags through Xpath queries. I can not articulate a query that shows me the name of people with a weight over 100. So far the code I have is :: package ejemplo_xpath;...
asked by 23.10.2018 / 12:27
2
answers

PHP Xpath string to XML

I'm assailed by a doubt. I know that I can transform a string like: <nodo1><nodo_1_hijo></nodo_1_hijo></nodo> A xml with SimpleXMLElement. But will it be possible to transform an xpath to xml like the following?:...
asked by 19.05.2017 / 01:18
3
answers

Selenium + Java Find the correct xpath

How are you? I'm using Selenium with Java and I need to click on an option. The element is a radiobuttom. <div class="row"> <div class="col-xs-12 col-sm-6 col-md-6 col-lg-4"> &...
asked by 13.04.2018 / 21:01
1
answer

Sort list of nodes by attribute

I'm parseando this web link . For this I need to know the header, in which the full date comes, plus the nodes that contain each game. I need to do it sequentially, because in the same table there is more than one header with different dates. W...
asked by 31.12.2017 / 12:30
1
answer

How to access an attribute of a node with xslt?

Good morning: I hope you can help me I have the following xml: <?xml version="1.0" encoding="UTF-8"?> <biblioteca> <libro tipo="Novela"> <titulo>Don quijote</titulo> <autor>Miguel de cervantes</...
asked by 02.03.2016 / 17:47
2
answers

I have several dropdown with the same ID in the xpath (SELENIUM)

What should I do if I have 2 dropdown, for example, but the name on the xpath is the same? How can I do to identify them? There is no name and the ids are the same. The code for both is this: <input id="dropdown-input" c...
asked by 13.12.2016 / 21:02
1
answer

I can not detect xpath on Twitter

Since yesterday I have been trying in Python, with Selenium, to create a bot that allows voting a poll. The process from the beginning of the session until the vote is done perfectly, but when I indicate the xPath of the option to vote, it does...
asked by 24.04.2018 / 09:42