@@ -78,10 +78,10 @@ abstract class NodeSeq extends AbstractSeq[Node] with immutable.Seq[Node] with S
78
78
/**
79
79
* Projection function, which returns elements of `this` sequence based
80
80
* on the string `that`. Use:
81
- * - `this \ "foo"` to get a list of all elements that are labelled with `"foo"`;
82
- * - `\ "_"` to get a list of all elements (wildcard);
83
- * - `ns \ "@foo"` to get the unprefixed attribute `"foo"`;
84
- * - `ns \ "@{uri}foo"` to get the prefixed attribute `"pre:foo"` whose
81
+ * - `this \ "foo"` to get a list of all children that are labelled with `"foo"`;
82
+ * - `this \ "_"` to get a list of all child elements (wildcard);
83
+ * - `this \ "@foo"` to get the unprefixed attribute `"foo"` of `this `;
84
+ * - `this \ "@{uri}foo"` to get the prefixed attribute `"pre:foo"` whose
85
85
* prefix `"pre"` is resolved to the namespace `"uri"`.
86
86
*
87
87
* For attribute projections, the resulting [[scala.xml.NodeSeq ]] attribute
@@ -125,10 +125,11 @@ abstract class NodeSeq extends AbstractSeq[Node] with immutable.Seq[Node] with S
125
125
/**
126
126
* Projection function, which returns elements of `this` sequence and of
127
127
* all its subsequences, based on the string `that`. Use:
128
- * - `this \\ 'foo` to get a list of all elements that are labelled with `"foo"`;
129
- * - `\\ "_"` to get a list of all elements (wildcard);
130
- * - `ns \\ "@foo"` to get the unprefixed attribute `"foo"`;
131
- * - `ns \\ "@{uri}foo"` to get each prefixed attribute `"pre:foo"` whose
128
+ * - `this \\ "foo" to get a list of all elements that are labelled with `"foo"`,
129
+ * including `this`;
130
+ * - `this \\ "_"` to get a list of all elements (wildcard), including `this`;
131
+ * - `this \\ "@foo"` to get all unprefixed attributes `"foo"`;
132
+ * - `this \\ "@{uri}foo"` to get all prefixed attribute `"pre:foo"` whose
132
133
* prefix `"pre"` is resolved to the namespace `"uri"`.
133
134
*
134
135
* For attribute projections, the resulting [[scala.xml.NodeSeq ]] attribute
0 commit comments