| >> English << | česky | Nederlands | Français | Español | По русски | Deutsch | ZVON > Tutorials > XPath Tutorial |
| Intro / Search / ZVON |
| >> Example 9 << | Prev | Next |
| //*[string-length(name()) = 3] |
|---|
| Select elements with three-letter name |
|
<AAA> <Q/> <SSSS/> <BB/> <CCC/> <DDDDDDDD/> <EEEE/> </AAA> |
| Open the example in XLab. | Tree view (JPG) |
| //*[string-length(name()) < 3] |
|---|
| Select elements name of which has one or two characters |
|
<AAA> <Q/> <SSSS/> <BB/> <CCC/> <DDDDDDDD/> <EEEE/> </AAA> |
| Open the example in XLab. | Tree view (JPG) |
| //*[string-length(name()) > 3] |
|---|
| Select elements with name longer than three characters |
|
<AAA> <Q/> <SSSS/> <BB/> <CCC/> <DDDDDDDD/> <EEEE/> </AAA> |
| Open the example in XLab. | Tree view (JPG) |