Skip to content

Commit a819512

Browse files
committed
Proofread
1 parent 1ac875d commit a819512

3 files changed

Lines changed: 18 additions & 18 deletions

File tree

content/en/docs/refguide/modeling/xpath/xpath-constraints/xpath-constraint-functions/xpath-contains.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ contains ( attribute, string_expression )
3030
`string_expression` specifies the value to test for being contained in the attribute. It can be a string literal or a string parameter.
3131

3232
{{% alert color="info" %}}
33-
In the case the `attribute` is an empty value or `NULL`, the function will always return `false`, independent of the value of `string_expression`.
33+
If the `attribute` is an empty value or `NULL`, the function will always return `false`, independent of the value of `string_expression`.
3434

35-
In the case the `string_expression` is empty, it is treated as an empty string. The function is then equivalent to ```attribute != empty```.
35+
If the `string_expression` is empty, it is treated as an empty string. The function is then equivalent to ```attribute != empty```.
3636
{{% /alert %}}
3737

3838
## Example

content/en/docs/refguide/modeling/xpath/xpath-constraints/xpath-constraint-functions/xpath-ends-with.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,29 @@ ends-with ( attribute, string_expression )
2323

2424
### attribute
2525

26-
`attribute` specifies the attribute to test in. Attribute must be of the **String** type.
26+
`attribute` specifies the attribute to test. It must be of the **String** type.
2727

2828
### expression
2929

30-
`string_expression` specifies the value to test for being at the end of the attribute. It should be a string literal or a string parameter.
30+
`string_expression` specifies the value to test for being at the end of the attribute. It must be a string literal or a string parameter.
3131

3232
{{% alert color="info" %}}
33-
In the case the `attribute` is an empty value or `NULL`, the function will always return `false`, independent of the value of `string_expression`.
33+
If the `attribute` is an empty value or `NULL`, the function will always return `false`, independent of the value of `string_expression`.
3434

35-
In the case the `string_expression` is empty, it is treated as an empty string. The function is then equivalent to ```attribute != empty```.
35+
If the `string_expression` is empty, it is treated as an empty string. The function is then equivalent to ```attribute != empty```.
3636
{{% /alert %}}
3737

3838
## Example
3939

4040
This query returns all customers whose name ends with the sub-string `sen`:
4141

4242
{{< tabpane >}}
43-
{{% tab header="Environments:" disabled=true /%}}
44-
{{< tab header="Studio Pro" lang="StudioPro" >}}
45-
[ends-with(Name, 'sen')]
43+
{{% tab header="Environments:" disabled=true /%}}
44+
{{< tab header="Studio Pro" lang="StudioPro" >}}
45+
[ends-with(Name, 'sen')]
4646
{{% /tab %}}
47-
{{< tab header="Java" lang="JavaQuery" >}}
48-
//Sales.Customer[ends-with(Name, 'sen')]
47+
{{< tab header="Java" lang="JavaQuery" >}}
48+
//Sales.Customer[ends-with(Name, 'sen')]
4949
{{% /tab %}}
5050
{{< /tabpane >}}
5151

content/en/docs/refguide/modeling/xpath/xpath-constraints/xpath-constraint-functions/xpath-starts-with.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,22 @@ starts-with ( attribute, string_expression )
3030
`string_expression` specifies the value to test for being at the start of the attribute. It should be a string literal or a string parameter.
3131

3232
{{% alert color="info" %}}
33-
In the case the `attribute` is an empty value or `NULL`, the function will always return `false`, independent of the value of `string_expression`.
33+
If the `attribute` is an empty value or `NULL`, the function will always return `false`, independent of the value of `string_expression`.
3434

35-
In the case the `string_expression` is empty, it is treated as an empty string. The function is then equivalent to ```attribute != empty```.
35+
If the `string_expression` is empty, it is treated as an empty string. The function is then equivalent to ```attribute != empty```.
3636
{{% /alert %}}
3737

3838
## Example
3939

4040
This query returns all the customers from which the name starts with the string "Jans":
4141

4242
{{< tabpane >}}
43-
{{% tab header="Environments:" disabled=true /%}}
44-
{{< tab header="Studio Pro" lang="StudioPro" >}}
45-
[starts-with(Name, 'Jans')]
43+
{{% tab header="Environments:" disabled=true /%}}
44+
{{< tab header="Studio Pro" lang="StudioPro" >}}
45+
[starts-with(Name, 'Jans')]
4646
{{% /tab %}}
47-
{{< tab header="Java" lang="JavaQuery" >}}
48-
//Sales.Customer[starts-with(Name, 'Jans')]
47+
{{< tab header="Java" lang="JavaQuery" >}}
48+
//Sales.Customer[starts-with(Name, 'Jans')]
4949
{{% /tab %}}
5050
{{< /tabpane >}}
5151

0 commit comments

Comments
 (0)