Child: Para
SelectsPara
Element children of the context node
-
Child ::*
Selects all element Children Of The context node
-
Child: Text ()
Selects all text node children of the context node
-
Child: node ()
Selects all the children of the context node, whatever their Node Type
-
Attribute: Name
SelectsName
Attribute of the context node
-
Attribute ::*
Selects all the attributes of the context node
-
Descendant: Para
SelectsPara
Element descendants of the context node
-
Ancestor: div
Selects allDiv
Ancestors of the context node
Ancestor-or-self: div
SelectsDiv
Ancestors of the context node and, if the context node isDiv
Element, the context node as well
-
Descendant-or-self: Para
SelectsPara
Element descendants of the context node and, if the context node isPara
Element, the context node as well
-
SELF: Para
Selects the context node if it isPara
Element, and otherwise selects nothing
-
Child: Chapter/descendant: Para
SelectsPara
Element descendants ofChapter
Element children of the context node
-
Child: */child: Para
Selects allPara
Grandchildren of the context node
/
Selects the document root (which is always the parent of the document element)
-
/Descendant: Para
Selects allPara
Elements in the same document as the context node
-
/Descendant: olist/child: item
Selects allItem
Elements that haveOlist
Parent and that are in the same document as the context node
-
Child: para [position () = 1]
Selects the firstPara
Child of the context node
-
Child: para [position () = last ()]
Selects the lastPara
Child of the context node
-
Child: para [position () = last ()-1]
Selects the last but onePara
Child of the context node
Child: para [position ()> 1]
Selects allPara
Children of the context node other than the firstPara
Child of the context node
-
Following-Sibling: chapter [position () = 1]
Selects the nextChapter
Sibling of the context node
-
Preceding-Sibling: chapter [position () = 1]
Selects the previousChapter
Sibling of the context node
-
/Descendant: Figure [position () = 42]
Selects the forty-secondFigure
Element in the document
-
/Child: DOC/child: chapter [position () = 5]/child: Section [position () = 2]
Selects the secondSection
Of the thChapter
OfDoc
Document Element
Child: para [attribute: TYPE = "warning"]
Selects allPara
Children of the context node that haveType
Attribute with valueWarning
-
Child: para [attribute: TYPE = 'warning'] [position () = 5]
Selects the thPara
Child of the context node that hasType
Attribute with valueWarning
-
Child: para [position () = 5] [attribute: TYPE = "warning"]
Selects the thPara
Child of the context node if that child hasType
Attribute with valueWarning
-
Child: chapter [Child: Title = 'inserduction ']
SelectsChapter
Children of the context node that have one or moreTitle
Children with string-value equalIntroduction
Child: chapter [Child: title]
SelectsChapter
Children of the context node that have one or moreTitle
Children
-
Child: * [self: chapter or self: appendix]
SelectsChapter
AndAppendix
Children of the context node
-
Child: * [self: chapter or self: appendix] [position () = last ()]
Selects the lastChapter
OrAppendix
Child of the context node