Skip to content Skip to sidebar Skip to footer
Showing posts with the label Xpath

How To Read Xpath Values From Many Html Files In .net?

I have about 5000 html files in a folder. I need to loop through them, open, grab say 10 values usi… Read more How To Read Xpath Values From Many Html Files In .net?

Xpath //* Vs //element Vs //

I have a confusion in finding XPath: When to put //* at start and when to put just // will work. Fo… Read more Xpath //* Vs //element Vs //

Scraping Using Html Agility Package

I am trying to scrape data from a news article using HtmlAgilityPackage the link is as follows… Read more Scraping Using Html Agility Package

How To Extract Specific Text With Imacros Xpath

I have this code in a website: text I want to extract text I don't want to extract I'm … Read more How To Extract Specific Text With Imacros Xpath

Getting Html Elements Via Xpath In Bash

I was trying to parse a page (Kaggle Competitions) with xpath on MacOS as described in another SO q… Read more Getting Html Elements Via Xpath In Bash

Php Using Domxpath To Strip Tags And Remove Nodes

I am trying to work with DOMDocument but I am encountering some problems. I have a string like thi… Read more Php Using Domxpath To Strip Tags And Remove Nodes

How To Open A Webelement From A Hoover Menu Selenium Java

Hello I'm new using selenium and I was trying to execute some tests from a web page. This is my… Read more How To Open A Webelement From A Hoover Menu Selenium Java

Xpath Table Changes As Combobox Changes Too

I'm working on an application in C# that goes to a website and gets some content out of a table… Read more Xpath Table Changes As Combobox Changes Too

Xsl For Xml: Inserting Specific Classes Using Xsl

I have another XSLT question which follows on from the question I asked last week. XSL for Xml to t… Read more Xsl For Xml: Inserting Specific Classes Using Xsl

Find All Links By Class With Selenium

On the web page there are a few articles. I need to get links to all articles. I use Selenium and … Read more Find All Links By Class With Selenium

Screen Scraping With Htmlagilitypack And Xpath

[This question has a relative that lives at: Selective screen scraping with HTMLAgilityPack and XPa… Read more Screen Scraping With Htmlagilitypack And Xpath

How To Count Common Nodes Between Two Nodes In Sql

How to count common nodes between two nodes in sql for this example: count tags between VGN A an… Read more How To Count Common Nodes Between Two Nodes In Sql

Xpath Expression To Select Nodes Based On Presence Of Child Node?

I'm trying to use Xpath to find all s with a given CSS class (.product). Solution 1: You were … Read more Xpath Expression To Select Nodes Based On Presence Of Child Node?

Embedding Tags In Xslt

I have this xslt which is working: Solution 1: The reason it errors out is because it's no lon… Read more Embedding Tags In Xslt

Xpath Expression To Find All Occerence Of A Element In Html File

I have an html file where I need to find the number of occurrences of the tag. In Java I'm usi… Read more Xpath Expression To Find All Occerence Of A Element In Html File

Xpath ".//span", What Does The Dot Mean?

In //header[.//span[contains(text(), 'part_title')]]//label[contains(@class, 'start'… Read more Xpath ".//span", What Does The Dot Mean?

Get Content Of List Of Span Elements With Htmlunit And Xpath

I want to get a list of values from an HTML document. I am using HTMLUnit. There are many span elem… Read more Get Content Of List Of Span Elements With Htmlunit And Xpath

Get Text Followed By Certain Text

I need to get the text but only before the certain text ('---------------'). E.g. example o… Read more Get Text Followed By Certain Text

Why Does Xpath Select Nodes Outside Of Context Node?

I'm using XPath with Node.js and I have the following HTML document, where I want to select all… Read more Why Does Xpath Select Nodes Outside Of Context Node?

Java Htmlunit Getbyfirstxpath Not Working

I am trying to load a page and click a link using HTMLUnit 2.4 in Java. I am attempting to find th… Read more Java Htmlunit Getbyfirstxpath Not Working