node

package
v0.9.16 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attribute

type Attribute interface {
	Node
	NamedNode
	AttributeValue() string
}

type CharData

type CharData interface {
	Node
	CharDataValue() string
}

type Comment

type Comment interface {
	Node
	CommentValue() string
}

type Element

type Element interface {
	Node
	NamedNode
}

type NamedNode

type NamedNode interface {
	Space() string
	Local() string
}

Implemented by Element's and Attributes. It is a convenience interface for querying by names.

type Namespace

type Namespace interface {
	Node
	Prefix() string
	NamespaceValue() string
}

type Node

type Node interface{}

The catch-all interface for all nodes.

type ProcInst

type ProcInst interface {
	Node
	Target() string
	ProcInstValue() string
}

type Root

type Root interface {
	Node
}

The container for all nodes in the tree. There must only be one, and it must exist at the root.

Jump to

Keyboard shortcuts

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