Back to

Package clarkns

Latest Go to latest
Published: Jul 5, 2020 | License: BSD-2-Clause | Module:


Package clarkns implements Clark Notation for XML.

For more information see


Package Files


var (
	ErrUnclosedNS = errors.New("clarkns: no namespace closing bracket found")

Errors returned by methods and functions in this package.

func Name

func Name(s string) (xml.Name, error)

Name parses the provided XML name from Clark notation. For example the string "{}part" would result in a local name of "part" and a namespace of ""

Name does not enforce XML name constraints and there is no guarantee that the returned xml.Name is valid.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier