Xpath extract text from a form


<td nowrap>Source name</td> <td style="text-align: justify">Fresh postmortem eye<br>

I need to extract the text "Fresh postmortem eye" that comes after "Source name" on a form. I tried this:

//Source name/following-sibling::text()[1]

and didn't get anything. I'm hacking together a webscraper.


Try this one:

//td[.="Source name"]/following-sibling::td[1]/text()


  • How do I make new messages appear on left/right depending on who sent them? (No Float)
  • How do I automatically add spacing between divs without using percentage?
  • Will Angular 2 child routes refresh the parent route
  • When using `nowrap` within a flex row, avoid pushing the last elements off the screen
  • Where is this gap/margin coming from?
  • How to replace a text-align: -webkit-center?
  • Validating multiple polymorphic values using Prismatic Schema
  • Obtain nodes that don't have specific ancestor xml xpath
  • Sticky footer with flexbox
  • In struts1.2 how to populate dropdown according to database value
  • How do one only submit click event (div), when using jquery live function?
  • TCPDF's getNumLines() is sometimes wrong
  • How read between delimiters in php DOM of a XML file?
  • Play Framework nested form errors missing
  • IOS > Open URL in Safari with POST
  • How to open html table in xls on click of a button
  • how to get username into sql trigger when multiple users signed on from asp membership
  • Custom validator control occupying space even though display set to dynamic
  • How do I alternate colors in Flat List (React Native)
  • Listbox within Listbox and scrolling trouble in Windows Phone 7 Silverlight
  • Counter field in MS Access, how to generate?
  • MySQL WHERE-condition in procedure ignored
  • Javascript + PHP Encryption with pidCrypt
  • Websockets service method fails during R startup
  • jquery mobile loadPage not working
  • Web-crawler for facebook in python
  • Properly structure and highlight a GtkPopoverMenu using PyGObject
  • Unanticipated behavior
  • How to delete a row from a dynamic generate table using jquery?
  • trying to dynamically update Highchart column chart but series undefined
  • Why can't I rebase on to an ancestor of source changesets if on a different branch?
  • IndexOutOfRangeException on multidimensional array despite using GetLength check
  • Easiest way to encapsulate a HTML5 webpage into an android app?
  • Busy indicator not showing up in wpf window [duplicate]
  • costura.fody for a dll that references another dll
  • Observable and ngFor in Angular 2
  • How to Embed XSL into XML
  • UserPrincipal.Current returns apppool on IIS
  • Conditional In-Line CSS for IE and Others?
  • java string with new operator and a literal