Xpath for HTML processing

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Astley Le Jasper

    Xpath for HTML processing

    Can anyone suggest something inthat can process an XPath like the
    following:

    "/html/body/table[2]/tbody/tr/td[5]/table/tbody/tr[3]/td/table[3]/
    tbody/tr[5]/td"

    Cheers

  • Stefan Behnel

    #2
    Re: Xpath for HTML processing

    Astley Le Jasper wrote:
    Can anyone suggest something inthat can process an XPath like the
    following:
    >
    "/html/body/table[2]/tbody/tr/td[5]/table/tbody/tr[3]/td/table[3]/
    tbody/tr[5]/td"
    [skipping the obvious joke answer to your question]

    In case you're asking for a tool that can process HTML using XPath, try lxml.html.



    Stefan

    Comment

    Working...