modulepackage
0.0.0-20160828203923-8fbd294777fe
Repository: https://github.com/bmaupin/go-htmlutil.git
Documentation: pkg.go.dev
# Functions
GetAllHtmlNodes is a convenience function for GetHtmlNodes() that returns all matching HTML nodes.
GetFirstHtmlNode is a convenience function for GetHtmlNodes() that returns the first matching node.
GetHtmlNodes returns the HTML nodes found within the provided node given a tag, attribute, and attribute value up to the provided count.
HtmlNodeToString converts an HTML node to a string for easier printing.
RemoveAllHtmlAttrs is a convenience function for RemoveHtmlAttrs() that removes all matching attributes.
RemoveAllHtmlNodes is a convenience function for RemoveHtmlNodes() that removes all matching HTML nodes.
RemoveFirstHtmlAttr is a convenience function for RemoveHtmlAttrs() that removes the first matching attribute.
RemoveFirstHtmlNode is a convenience function for RemoveHtmlNodes() that removes the first matching node.
RemoveHtmlAttrs removes HTML attributes matching the provided tag, attribute, and value up to the provided count.
RemoveHtmlNodes removes the HTML nodes found within the provided node given a tag, attribute, and attribute value up to the provided count.