Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Elem ¶
type Elem interface { Node //GetChildren returns the elements children. GetChildren() []Node //GetAttrs returns the attributes of the element GetAttrs() []Node }
Elem is a XPath result that is an element node
type Node ¶
type Node interface { //ResValue prints the node's string value ResValue() string //Pos returns the node's position in the document order Pos() int //GetToken returns the xml.Token representation of the node GetToken() xml.Token //GetParent returns the parent node, which will always be an XML element GetParent() Elem //GetNodeType returns the node's type GetNodeType() tree.NodeType }
Node is a XPath result that is a node except elements
Click to show internal directories.
Click to hide internal directories.