Home | History | Annotate | Download | only in libxslt

Lines Matching refs:ancestor

594 	/* Skip to next preceding or ancestor */
635 xmlNodePtr ancestor;
652 /* ancestor-or-self::*[count] */
653 for (ancestor = node;
654 ancestor != NULL) && (ancestor->type != XML_DOCUMENT_NODE);
655 ancestor = xmlXPathNextAncestor(parser, ancestor)) {
658 xsltTestCompMatchList(context, ancestor, fromPat))
661 if ((count == NULL && node->type == ancestor->type &&
662 xmlStrEqual(node->name, ancestor->name)) ||
663 xsltTestCompMatchList(context, ancestor, countPat)) {
666 for (preceding = ancestor;
671 if ((preceding->type == ancestor->type) &&
672 xmlStrEqual(preceding->name, ancestor->name)){
673 if ((preceding->ns == ancestor->ns) ||
675 (ancestor->ns != NULL) &&
677 ancestor->ns->href) )))