Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ const (
procInstNode
)

// Name returns the name value of node.
// Use it to get:
// Space - node namespace
// Name - node local name
func (node *Node) Name() xml.Name {
return node.name
}

// String returns the string value of node.
//
// The string value of a node is:
Expand Down