func ParseString(s string, o ...parser.Option) (types.Document, error) {
	p := parser.New(o...)
	return p.ParseString(s)
}
ParseString parses the given string and returns a Document.
package libxml2
import (
	"io"
	"github.com/lestrrat-go/libxml2/parser"
	"github.com/lestrrat-go/libxml2/types"
)
func Parse(buf []byte, o ...parser.Option) (types.Document, error) {
	p := parser.New(o...)
	return p.Parse(buf)
}