From 4cf6feefccd9484d837806482c38746f53d184b1 Mon Sep 17 00:00:00 2001 From: lolbinarycat Date: Sun, 11 May 2025 12:35:21 -0500 Subject: [PATCH] KQL can only select nodes the spec, as it exists, only seems to specify how to select nodes. while it is true that matchers can reference properties and arguments, these are only ever used for filtering, and cannot be returned from the query. thus, i am proposing to remove this sentence as it is somewhat confusing. being able to select arguments and properties, similar to how xpath `@prop` works, would be nice, but it would require a new version of the spec with significantly more features. --- QUERY-SPEC.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QUERY-SPEC.md b/QUERY-SPEC.md index 25ad7c69..e2addf59 100644 --- a/QUERY-SPEC.md +++ b/QUERY-SPEC.md @@ -1,7 +1,7 @@ # KDL Query Language Spec The KDL Query Language is a small language specially tailored for querying KDL -documents to extract nodes and even specific data. It is loosely based on CSS +documents to extract nodes. It is loosely based on CSS selectors for familiarity and ease of use. Think of it as CSS Selectors or XPath, but for KDL!