1package xconst
2
3const (
4	//AxisAncestor represents the "ancestor" axis
5	AxisAncestor = "ancestor"
6	//AxisAncestorOrSelf represents the "ancestor-or-self" axis
7	AxisAncestorOrSelf = "ancestor-or-self"
8	//AxisAttribute represents the "attribute" axis
9	AxisAttribute = "attribute"
10	//AxisChild represents the "child" axis
11	AxisChild = "child"
12	//AxisDescendent represents the "descendant" axis
13	AxisDescendent = "descendant"
14	//AxisDescendentOrSelf represents the "descendant-or-self" axis
15	AxisDescendentOrSelf = "descendant-or-self"
16	//AxisFollowing represents the "following" axis
17	AxisFollowing = "following"
18	//AxisFollowingSibling represents the "following-sibling" axis
19	AxisFollowingSibling = "following-sibling"
20	//AxisNamespace represents the "namespace" axis
21	AxisNamespace = "namespace"
22	//AxisParent represents the "parent" axis
23	AxisParent = "parent"
24	//AxisPreceding represents the "preceding" axis
25	AxisPreceding = "preceding"
26	//AxisPrecedingSibling represents the "preceding-sibling" axis
27	AxisPrecedingSibling = "preceding-sibling"
28	//AxisSelf represents the "self" axis
29	AxisSelf = "self"
30)
31
32//AxisNames is all the possible Axis identifiers wrapped in an array for convenience
33var AxisNames = []string{
34	AxisAncestor,
35	AxisAncestorOrSelf,
36	AxisAttribute,
37	AxisChild,
38	AxisDescendent,
39	AxisDescendentOrSelf,
40	AxisFollowing,
41	AxisFollowingSibling,
42	AxisNamespace,
43	AxisParent,
44	AxisPreceding,
45	AxisPrecedingSibling,
46	AxisSelf,
47}
48
49const (
50	//NodeTypeComment represents the "comment" node test
51	NodeTypeComment = "comment"
52	//NodeTypeText represents the "text" node test
53	NodeTypeText = "text"
54	//NodeTypeProcInst represents the "processing-instruction" node test
55	NodeTypeProcInst = "processing-instruction"
56	//NodeTypeNode represents the "node" node test
57	NodeTypeNode = "node"
58)
59
60//NodeTypes is all the possible node tests wrapped in an array for convenience
61var NodeTypes = []string{
62	NodeTypeComment,
63	NodeTypeText,
64	NodeTypeProcInst,
65	NodeTypeNode,
66}
67