diff --git a/specifications/xpath-functions-40/src/function-catalog.xml b/specifications/xpath-functions-40/src/function-catalog.xml index c3c4b8832..db349864c 100644 --- a/specifications/xpath-functions-40/src/function-catalog.xml +++ b/specifications/xpath-functions-40/src/function-catalog.xml @@ -19119,6 +19119,18 @@ return tokenize(normalize-space($s), ' ')[. castable as xs:IDREF]
json-lines
+ xs:boolean?
+ true()
means "yes"
, false()
means "no"
no
+ json-node-output-method
diff --git a/specifications/xslt-xquery-serialization-40/src/bibl.xml b/specifications/xslt-xquery-serialization-40/src/bibl.xml
index e7492dd5d..96b67c90e 100644
--- a/specifications/xslt-xquery-serialization-40/src/bibl.xml
+++ b/specifications/xslt-xquery-serialization-40/src/bibl.xml
@@ -63,6 +63,12 @@ Unicode Consortium.
Unicode Standard Annex #15.
+escape-solidus
parameter for JSON serialization.
json-lines
parameter for JSON serialization.
+ There are a number of parameters that influence how serialization
is performed.
item-separator
json-lines
yes
, no
, true
, false
, 1
or 0
.
+json-node-output-method
escape-solidus
parameter for JSON serialization.
json-lines
parameter for JSON serialization.
+ The JSON output method serializes the
The JSON output method serializes the json-lines
parameter:
If the value is one of yes
, true
or 1
,
+ each item of the input value becomes a separate list entry.
+
For all other values, the input value becomes a single list entry.
+The serialized entries of the list are separated by the character
An yes
, true
or 1
,
the indent
parameter has the value
-no
, false
or 0
,
-the
-The suppress-indentation
parameter is not applicable to
-the JSON output method.
-
If json-lines
has one of the values yes
, true
or
+1
, indentation is allowed, but the output whitespace characters may not contain
+the character
</script>
end tag might otherwise cause the script to be prematurely
terminated. In other situations, however, the escaping creates visual clutter and makes the output less readable.
-
-
-
-
-item-separator
Parameter
-
-The item-separator
serialization
-parameter is not applicable to the JSON output method.
allow-duplicate-names
Parameter
The allow-duplicate-names
serialization parameter
@@ -3702,6 +3714,13 @@ set to yes
.
json-lines
Parameter
+The json-lines
serialization parameter determines if items are serialized
+according to the