xmlnode

package
v0.0.0-...-97928f7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type XMLNode

type XMLNode struct {
	xml.Token
	tree.NodePos
	tree.NodeType
	Parent tree.Elem
}

XMLNode will represent an attribute, character data, comment, or processing instruction node

func (XMLNode) GetParent

func (a XMLNode) GetParent() tree.Elem

GetParent returns the parent node

func (XMLNode) GetToken

func (a XMLNode) GetToken() xml.Token

GetToken returns the xml.Token representation of the node

func (XMLNode) ResValue

func (a XMLNode) ResValue() string

ResValue returns the string value of the attribute

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL