Skip to main content

HtmlNode Objects

class HtmlNode(BaseDTO)
A class representing a single HTML node, with the xpath and offset. Attributes:
  • xpath str - The xpath of the node
  • offset int - The offset of the content from the xpath

HtmlRange Objects

class HtmlRange(BaseDTO)
A class representing a section of HTML with a start and end node. Attributes:
  • start HtmlNode - The starting node of the range.
  • end HtmlNode - The ending node of the range.