section

package
v0.0.0-...-116fc4f Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Element

type Element interface{}

type ManEntry

type ManEntry struct {
	XMLName   xml.Name `xml:"citerefentry"`
	Title     string   `xml:"refentrytitle"`
	ManVolume string   `xml:"manvolnum"`
}

func (ManEntry) String

func (entry ManEntry) String() string

type Node

type Node struct {
	Type     string  `xml:"-"`
	Element  Element `xml:"-"`
	Children Nodes   `xml:",any"`
}

func (*Node) Flatten

func (node *Node) Flatten() string

func (*Node) String

func (node *Node) String() string

func (*Node) UnmarshalXML

func (node *Node) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error)

type Nodes

type Nodes []*Node

func (*Nodes) Append

func (elements *Nodes) Append(node *Node)

type RefSection

type RefSection struct {
	Title string `xml:"title"`
}

type Section

type Section struct {
	XMLName  xml.Name `xml:"refsect1"`
	Children Nodes    `xml:",any"`
	RefSection
}

http://tdg.docbook.org/tdg/4.5/refsect1.html

func (Section) String

func (section Section) String() string

Jump to

Keyboard shortcuts

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