package
Version:
v0.0.0-...-e5d03f5
Opens a new window with list of versions in this module.
Published: Jul 7, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package dom provides DOM related functions to parse HTML pages.
FirstChild travel the tree with the filter specified and returns the first node found.
NodeAttr returns the attribute of an html node if it exists.
NodeMarkdown returns the node's content as a markdown representation.
This is best effort.
NodeText returns the text as processed in HTML.
YieldChildren travel the tree with the filter specified, traversing depth first.
Selector is a filter to select nodes in an DOM tree.
Attr selects element nodes by attribute name and value.
Class selects element nodes by class name.
Tag selects element nodes by tag name.
Type selects nodes by type.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.