xmlParser

package
v0.0.0-...-a410f78 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2019 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attribute

type Attribute struct {
	Name  string
	Value string
}

type Tag

type Tag struct {
	XMLName    xml.Name
	Content    string
	XMLPath    string
	Attributes []xml.Attr
	Parent     *Tag
	Childes    []*Tag
}

func GetImportantTags

func GetImportantTags(tag *Tag) (list []Tag, err error)

func ParseURL

func ParseURL(url string) ([]Tag, error)

Jump to

Keyboard shortcuts

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