diff --git a/specifications/xpath-functions-40/src/function-catalog.xml b/specifications/xpath-functions-40/src/function-catalog.xml
index 3b44fb539..9d8aabb42 100644
--- a/specifications/xpath-functions-40/src/function-catalog.xml
+++ b/specifications/xpath-functions-40/src/function-catalog.xml
@@ -226,7 +226,7 @@
With "header":false()
(which is the default),
- then the value is an empty sequence.
With "header":true()
, the value is a sequence
of strings taken from the first row of the data. The strings have
leading and trailing whitespace trimmed, regardless of the value of the
@@ -294,10 +294,10 @@
option is true
. If there are no data rows in the CSV, the
value will be an empty sequence.
A function providing ready access to a given field in a given
row. The get
function has signature:
The function takes two arguments: the first is an
integer giving the row number (1-based), the second
identifies a column either by its name or by its 1-based
@@ -307,7 +307,7 @@
the function call $csv?get($R, $C)
, where $C
is an integer, returns the value of $csv?rows[$R] => array:get($C, fn { "" })
,
and the function call $csv?get($R, $K)
, where $K
- is a string, returns the value of $csv?get($R, $csv?column-numbers($K))
.
$csv?get($R, $csv?column-index($K))
.
The properties of the function are as follows:
(xs:positiveInteger, (xs:positiveInteger | xs:string)) => xs:string?
(xs:positiveInteger, (xs:positiveInteger | xs:string)) => xs:string
xs:string
whose length is exactly one.
Defaults to a single newline character (The namespace prefix used in the names of elements (or its absence) is +
The elements in the returned XML are in the namespace
+ http://www.w3.org/2005/xpath-functions
;
+ the namespace prefix that is used (or its absence) is
If the function is called twice with the same arguments, it is If column names were not extracted, then implementations If no non-empty column names are available, then the For example (when no column names are available):]]>
element, and
- ]]>
elements column
attribute:columns
+ element and all column
attributes are absent.
+ If non-empty column names are available for some columns but not for others,
+ then (a) an empty column
element is included
+ within the columns
element if and only if there is a subsequent
+ column with a non-empty name, and (b) the column
attribute
+ for the corresponding field
elements is absent.