Lines Matching defs:axis
1170 xmlXPathAxisVal axis = (xmlXPathAxisVal)op->value;
1177 switch (axis) {
3087 precedence1 = 3; /* element in prev-sibl axis */
3141 precedence2 = 3; /* element in prev-sibl axis */
6058 ret->axis = NULL;
7535 * A traversal function enumerates nodes along an axis.
7537 * termination on the axis by returning NULL.
7544 * A traversal function enumerates nodes along an axis.
7546 axis by returning NULL.
7566 * The self axis contains just the context node itself
7568 * Returns the next element following that axis
7584 * The child axis contains the children of the context node in document order.
7586 * Returns the next element following that axis
7635 * The child axis contains the children of the context node in document order.
7637 * Returns the next element following that axis
7709 * Traversal function for the "descendant-or-self" axis.
7714 * Returns the next element following that axis
7786 * the descendant axis contains the descendants of the context node in document
7789 * Returns the next element following that axis
7847 * the descendant-or-self axis contains the context node and the descendants
7849 * node on the axis, and the first child of the context node is the second node
7850 * on the axis
7852 * Returns the next element following that axis
7875 * The parent axis contains the parent of the context node, if there is one.
7877 * Returns the next element following that axis
7944 * the ancestor axis contains the ancestors of the context node; the ancestors
7947 * parent is the first node on the axis, and the parent's parent is the second
7948 * node on the axis
7950 * Returns the next element following that axis
8069 * he ancestor-or-self axis contains the context node and ancestors of
8071 * the first node on the axis, and the context node's parent the second;
8072 * parent here is defined the same as with the parent axis.
8074 * Returns the next element following that axis
8090 * The following-sibling axis contains the following siblings of the context
8093 * Returns the next element following that axis
8114 * The preceding-sibling axis
8116 * axis; the sibling preceding that node is the second on the axis and so on.
8118 * Returns the next element following that axis
8144 * The following axis contains all nodes in the same document as the context
8149 * Returns the next element following that axis
8207 * the preceding axis contains all nodes in the same document as the context
8212 * Returns the next element following that axis
8250 * the preceding axis contains all nodes in the same document as the context
8257 * Returns the next element following that axis
8296 * the namespace axis contains the namespace nodes of the context node;
8297 * the order of nodes on this axis is implementation-defined; the axis will
8302 * Returns the next element following that axis
8339 * Returns the next element following that axis
10559 * - an axis in which case it's followed by ':'
10571 "PathExpr: Axis\n");
11155 * Returns the axis or 0
11257 xmlXPathAxisVal axis = (xmlXPathAxisVal) 0;
11292 axis = AXIS_CHILD;
11297 axis = xmlXPathIsAxisName(name);
11298 if (axis != 0) {
11305 /* an element name can conflict with an axis one :-\ */
11306 axis = AXIS_CHILD;
11309 axis = AXIS_CHILD;
11313 axis = AXIS_ATTRIBUTE;
11315 axis = AXIS_CHILD;
11365 PUSH_FULL_EXPR(XPATH_OP_COLLECT, op1, ctxt->comp->last, axis,
11488 xmlGenericError(xmlGenericErrorContext, "axis 'ancestors' ");
11492 "axis 'ancestors-or-self' ");
11495 xmlGenericError(xmlGenericErrorContext, "axis 'attributes' ");
11498 xmlGenericError(xmlGenericErrorContext, "axis 'child' ");
11501 xmlGenericError(xmlGenericErrorContext, "axis 'descendant' ");
11505 "axis 'descendant-or-self' ");
11508 xmlGenericError(xmlGenericErrorContext, "axis 'following' ");
11512 "axis 'following-siblings' ");
11515 xmlGenericError(xmlGenericErrorContext, "axis 'namespace' ");
11518 xmlGenericError(xmlGenericErrorContext, "axis 'parent' ");
11521 xmlGenericError(xmlGenericErrorContext, "axis 'preceding' ");
11525 "axis 'preceding-sibling' ");
11528 xmlGenericError(xmlGenericErrorContext, "axis 'self' ");
11612 * the axis as the context position;"
11998 xmlXPathAxisVal axis = (xmlXPathAxisVal) op->value;
12032 /* compound axis traversal */
12053 * Setup axis.
12057 * the current axis cannot overlap, then we could avoid searching
12061 * not in the ancestor-or-self axis of the other, then we could safely
12062 * avoid a duplicate-aware merge, if the axis to be traversed is e.g.
12063 * the descendant-or-self axis.
12066 switch (axis) {
12203 * Axis traversal -----------------------------------------------------
12207 * - For the attribute axis, the principal node type is attribute.
12208 * - For the namespace axis, the principal node type is namespace.
12254 * Traverse the axis and test the nodes.
12349 if (axis == AXIS_ATTRIBUTE) {
12354 } else if (axis == AXIS_NAMESPACE) {
12378 if (axis == AXIS_ATTRIBUTE) {
12381 } else if (axis == AXIS_NAMESPACE) {
13771 * the axis as the context position;"
14572 * We don't try to handle expressions using the verbose axis