Documentation ¶
Index ¶
- func CopyBranch(subject *xmlquery.Node) (*xmlquery.Node, error)
- func InsertSubjectAfterTarget(subject, target *xmlquery.Node) error
- func InsertSubjectAfterTargetChildren(subject, target *xmlquery.Node) error
- func InsertSubjectBeforeTarget(subject, target *xmlquery.Node) error
- func InsertSubjectBeforeTargetChildren(subject, target *xmlquery.Node) error
- func RemoveSubjectFromItsTree(subject *xmlquery.Node) error
- type NaiveEditTool
- func (self *NaiveEditTool) AppendChild(node *xmlquery.Node) *NaiveEditTool
- func (self *NaiveEditTool) AppendSibling(node *xmlquery.Node) *NaiveEditTool
- func (self *NaiveEditTool) PrependChild(node *xmlquery.Node) *NaiveEditTool
- func (self *NaiveEditTool) PrependSibling(node *xmlquery.Node) *NaiveEditTool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NaiveEditTool ¶
You can wrap Naive calls with func() { defer func() {x:=recover()}() } to ease null pointers pain
func (*NaiveEditTool) AppendChild ¶
func (self *NaiveEditTool) AppendChild(node *xmlquery.Node) *NaiveEditTool
func (*NaiveEditTool) AppendSibling ¶
func (self *NaiveEditTool) AppendSibling(node *xmlquery.Node) *NaiveEditTool
func (*NaiveEditTool) PrependChild ¶
func (self *NaiveEditTool) PrependChild(node *xmlquery.Node) *NaiveEditTool
func (*NaiveEditTool) PrependSibling ¶
func (self *NaiveEditTool) PrependSibling(node *xmlquery.Node) *NaiveEditTool
Click to show internal directories.
Click to hide internal directories.