gokogiri

package module
v0.0.0-...-0818d36 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2012 License: MIT Imports: 2 Imported by: 0

README

Gokogiri 
by Zhigang Chen and Hampton Catlin

A pretty straightforward and simple library for using LibXML in native Go.

This is a major rewrite from v0 in the following places:

    - Separation of XML and HTML
    - Put more burden of memory allocation/deallocation on Go
    - Fragement parsing -- no more deep-copy
    - Serialization
    - Some API adjustment

To install

    - go get github.com/moovweb/gokogiri

	
To run test

    - go test github.com/moovweb/gokogiri/html
    - go test github.com/moovweb/gokogiri/xml

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseHtml

func ParseHtml(content []byte) (doc *html.HtmlDocument, err error)

func ParseXml

func ParseXml(content []byte) (doc *xml.XmlDocument, err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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