package
2.1.0+incompatible
Repository: https://github.com/danielfillol/gospider.git
Documentation: pkg.go.dev
# Functions
Compile compiles an XPath expression string.
CompileWithNS compiles an XPath expression string, using given namespaces map.
MustCompile compiles an XPath expression string and ignored error.
NewLoadingCache creates a new instance of a loading cache with capacity.
Select selects a node set using the specified XPath expression.
# Constants
AttributeNode is an attribute, such as id='123'.
CommentNode is a comment node, such as <!-- my comment -->.
ElementNode is an element, such as <element>.
RootNode is a root node of the XML document or node tree.
TextNode is the text content of a node.
# Variables
RegexpCache is a loading cache for string -> *regexp.Regexp mapping.
# Interfaces
NodeNavigator provides cursor model for navigating XML data.
# Type aliases
NodeType represents a type of XPath node.