Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
---
title: "XPath contains"
linktitle: "contains"
Copy link
Contributor

@dahfjkg dahfjkg Jan 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the purpose of the new linktitle tag? And how safe is it to use words like true, false and not there? Would it be safer to add xpath- to link titles?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It means that the navigation just has the name of the function, rather than it being cluttered with the word "XPath" repeated multiple times.
image
image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, that actually looks better indeed

url: /refguide/xpath-contains/
weight: 16
---

## Overview

The `contains()` function tests whether a string attribute contains a specific string (case-insensitive) as a sub-string.
The `contains()` function tests whether a string attribute contains a specific string as a sub-string.

{{% alert color="info" %}}
String comparisons in XPath constraints are generally case-insensitive, but this can depend on the collation setting for some databases. See [Case-Sensitive Database Behavior](/refguide/case-sensitive-database-behavior/) for more information.
{{% /alert %}}

## Example

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "XPath day-from-dateTime"
linktitle: "day-from-dateTime"
url: /refguide/xpath-day-from-datetime/
weight: 8
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "XPath day-of-year-from-dateTime"
linktitle: "day-of-year-from-dateTime"
url: /refguide/xpath-day-of-year-from-datetime/
weight: 13
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
---
title: "XPath ends-with"
linktitle: "ends-with"
url: /refguide/xpath-ends-with/
weight: 18
---

## Overview

The `ends-with()` function checks whether a string attribute ends with a specific string (case-insensitive) as a sub-string.
The `ends-with()` function checks whether a string attribute ends with a specific string as a sub-string.

{{% alert color="info" %}}
String comparisons in XPath constraints are generally case-insensitive, but this can depend on the collation setting for some databases. See [Case-Sensitive Database Behavior](/refguide/case-sensitive-database-behavior/) for more information.
{{% /alert %}}

## Example

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "XPath false"
linktitle: "false"
url: /refguide/xpath-false/
weight: 2
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "XPath hours-from-dateTime"
linktitle: "hours-from-dateTime"
url: /refguide/xpath-hours-from-datetime/
weight: 9
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "XPath length"
linktitle: "length"
url: /refguide/xpath-length/
weight: 4
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "XPath minutes-from-dateTime"
linktitle: "minutes-from-dateTime"
url: /refguide/xpath-minutes-from-datetime/
weight: 10
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "XPath month-from-dateTime"
linktitle: "month-from-dateTime"
url: /refguide/xpath-month-from-datetime/
weight: 7
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "XPath not"
linktitle: "not"
url: /refguide/xpath-not/
weight: 3
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "XPath quarter-from-dateTime"
linktitle: "quarter-from-dateTime"
url: /refguide/xpath-quarter-from-datetime/
weight: 12
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "XPath seconds-from-dateTime"
linktitle: "seconds-from-dateTime"
url: /refguide/xpath-seconds-from-datetime/
weight: 11
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
---
title: "XPath starts-with"
linktitle: "starts-with"
url: /refguide/xpath-starts-with/
weight: 17
---

## Overview

The `starts-with()` function tests whether a string attribute starts with a specific string (case-insensitive) as a sub-string.
The `starts-with()` function tests whether a string attribute starts with a specific string as a sub-string.

{{% alert color="info" %}}
String comparisons in XPath constraints are generally case-insensitive, but this can depend on the collation setting for some databases. See [Case-Sensitive Database Behavior](/refguide/case-sensitive-database-behavior/) for more information.
{{% /alert %}}

## Example

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "XPath string-length"
linktitle: "string-length"
url: /refguide/xpath-string-length/
weight: 5
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "XPath true"
linktitle: "true"
url: /refguide/xpath-true/
weight: 1
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "XPath week-from-dateTime"
linktitle: "week-from-dateTime"
url: /refguide/xpath-week-from-datetime/
weight: 14
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "XPath weekday-from-dateTime"
linktitle: "weekday-from-dateTime"
url: /refguide/xpath-weekday-from-datetime/
weight: 15
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "XPath year-from-dateTime"
linktitle: "year-from-dateTime"
url: /refguide/xpath-year-from-datetime/
weight: 6
---
Expand Down