Skip to content

Commit ef0fedb

Browse files
authored
KQL: clean up wording and remove deadlink
"accessors" haven't been a thing in a while. alternativly, we could bring back the section explaining what "accessor" means.
1 parent 8e18add commit ef0fedb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

QUERY-SPEC.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# KDL Query Language Spec
22

3-
The KDL Query Language is a small language specially tailored for querying KDL
3+
The KDL Query Language (KQL) is a small language specially tailored for querying KDL
44
documents to extract nodes and even specific data. It is loosely based on CSS
55
selectors for familiarity and ease of use. Think of it as CSS Selectors or
66
XPath, but for KDL!
@@ -19,8 +19,8 @@ lack of `*` (use `[]` instead), the specific syntax for descendants and siblings
1919
* `a >> b || a >> c`: Selects all `b` and `c` elements that are descendants of an `a` element. Any selector may be on either side of the `||`. Multiple `||` are supported.
2020
* `a + b`: Selects any `b` element that is placed immediately after a sibling `a` element.
2121
* `a ++ b`: Selects any `b` element that follows an `a` element as a sibling, either immediately or later.
22-
* `[accessor()]`: Selects any element, filtered by [an accessor](#accessors). (`accessor()` is a placeholder, not an actual accessor)
23-
* `a[accessor()]`: Selects any `a` element, filtered by an accessor.
22+
* `[attrmatcher()]`: Selects any element, filtered by an attribute matcher (`attrmatcher()` is a placeholder, not an actual matcher)
23+
* `a[attrmatcher()]`: Selects any `a` element, filtered by an attribute matcher.
2424
* `[]`: Selects any element.
2525

2626
## Matchers

0 commit comments

Comments
 (0)