RIP
Tutorial
Tags
Topics
Examples
eBooks
Download xpath (PDF)
xpath
Getting started with xpath
Check if a node is present
Check if a node's text is empty
Find nodes that have a specific attribute
Finding elements containing specific attributes
Finding elements containing specific text
Get nodes relative to the current node
Get the count of nodes
How many children does Goku have?
How many plants are there in the house?
Location paths and axes
Namespaces
Select nodes based on their children
Select nodes with names equal to or containing some string
xpath
Getting started with xpath
Check if a node is present
Check if a node's text is empty
Find nodes that have a specific attribute
Finding elements containing specific attributes
Finding elements containing specific text
Get nodes relative to the current node
Get the count of nodes
How many children does Goku have?
How many plants are there in the house?
Location paths and axes
Namespaces
Select nodes based on their children
Select nodes with names equal to or containing some string
xpath
Get the count of nodes
Fastest Entity Framework Extensions
Bulk Insert
Bulk Delete
Bulk Update
Bulk Merge
Syntax
count(node-set)
Parameters
function
returns
count
total number of nodes in the node set
Remarks
We can use this in combination of other functions and axes to suit our needs.
Get the count of nodes Related Examples
How many children does Goku have?
How many plants are there in the house?
PDF
- Download
xpath
for free
Previous
Next