package module
v0.0.1 Latest Latest

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

Go to latest
Published: Jul 5, 2020 License: BSD-2-Clause Imports: 3 Imported by: 0


Issue Tracker GoDoc Chat License Build Status

Buy Me A Coffee Support Me

An API for parsing Clark Notation into XML names in Go.

To use it in your project, import it like so:

import ""

If you'd like to contribute to the project, see


The package may be used under the terms of the BSD 2-Clause License a copy of which may be found in the LICENSE file.

Unless you explicitly state otherwise, any contribution submitted for inclusion in the work by you shall be licensed as above, without any additional terms or conditions.



Package clarkns implements Clark Notation for XML.

For more information see



This section is empty.


View Source
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.


This section is empty.

Jump to

Keyboard shortcuts

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