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
11 changes: 6 additions & 5 deletions node.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,12 @@ type Attr struct {
type Node struct {
Parent, FirstChild, LastChild, PrevSibling, NextSibling *Node

Type NodeType
Data string
Prefix string
NamespaceURI string
Attr []Attr
Type NodeType
Data string
Prefix string
NamespaceURI string
Attr []Attr
SiblingSequence int

level int // node level in the tree
}
Expand Down