XPath length

1 minute to read Download PDF Edit

The length() function returns the length of a String attribute or value.

//Sales.Customer[length(FirstName) >= 5]

This query returns all customers with a FirstName of 5 or more characters.