Mapa mental
XPath
Conteúdo do mapa
XPath
Predicates 谓语: written in square brackets
- /class/student[1]: select first student element which is child of the class element
- /class/student[last()] : select last student element which is child of the class element.
- /class/student[@rollno = 493] : select student element with rollno 493
- /class/student[marks>85] : select student element with marks > 85
Expressions
- double forward slash // : select node in the current document
- period . : selects the current node
- double period .. : selects the parent of current node
- @ : select attributes
- * : matches any element node
Node Types
- Root
- Element
- Text
- Attribute
- Comment
- Processing Instruction
- Namespace
Axes
- Ancestor
- Ancestor-or-self
- Attribute
- child
- descendant
- descendant-or-self
- Following
- Following-sibling
- namespace
- Preceding
- parent
- self
Informações
- Descrição
- 1 Selenium Mapa Mental sobre XPath, criado por Yi Bao em 23-04-2019.
- Criado por
- Yi Bao
- Visualizações
- 0
- Avaliação