package
0.0.0-20141112201209-3f75658770a7
Repository: https://github.com/rtfb/go-html-transform.git
Documentation: pkg.go.dev

# Functions

AppendChildren creates a TransformFunc that appends the Children passed in.
CopyAnd will construct a TransformFunc that will make a copy of the node for each passed in TransformFunc and replace the passed in node with the resulting transformed html.Nodes.
DoAll returns a TransformFunc that combines all the TransformFuncs that are passed in.
No description provided by the author
ModifyAttrb creates a TransformFunc that modifies the attributes of the node it operates on.
MustSubtransform constructs a TransformFunc that runs a TransformFunc on any nodes in the tree rooted by the node the the TransformFunc is run against.
MustTrans creates a Transform.
Constructor for a Transformer.
No description provided by the author
PrependChildren creates a TransformFunc that prepends the Children passed in.
RemoveChildren creates a TransformFunc that removes the Children of the node it operates on.
Replace constructs a TransformFunc that replaces a node with the nodes passed in.
ReplaceChildren creates a TransformFunc that replaces the Children of the node it operates on with the Children passed in.
SubTransform constructs a TransformFunc that runs a TransformFunc on any nodes in the tree rooted by the node the the TransformFunc is run against.
SubTransformSelector constructs a TransformFunc that runs a TransformFunc on any nodes collected, using the passed in collector, from the subtree the TransformFunc is run on.
Trace is a debugging wrapper for transform funcs.
Trans creates a Transform that you can apply using ApplyAll.
TransCollector creates a Transform that you can apply using ApplyAll.
TransformAttrib returns a TransformFunc that transforms an attribute on the node it operates on using the provided func.

# Structs

Transform is a bundle of selectors and a transform func.
Transformer encapsulates a document under transformation.

# Interfaces

Collector defines an interface for html node collectors.

# Type aliases

No description provided by the author
The TransformFunc type is the type of a html.Node transformation function.