From: Lady Date: Tue, 26 Nov 2024 04:16:36 +0000 (-0500) Subject: Don’t use literal result elements in parsers X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/HEAD Don’t use literal result elements in parsers Literal result elements inherit name·spaces from their surrounding context. Using `` elements avoids this trouble (and also allows for the removal of name·space prefixes, reducing sizes of results). --- diff --git a/parsers/plain.xslt b/parsers/plain.xslt index 01e6f8d..3430526 100644 --- a/parsers/plain.xslt +++ b/parsers/plain.xslt @@ -11,14 +11,19 @@ SPDX-License-Identifier: MPL-2.0 This Source Code Form is subject to the terms of the Mozilla Public License, v 2.0. If a copy of the M·P·L was not distributed with this file, You can obtain one at . --> + +]> <书社:id>urn:fdc:ladys.computer:20231231:Shu1She4:plain.xslt diff --git a/parsers/record-jar.xslt b/parsers/record-jar.xslt index abaf08c..b58505d 100644 --- a/parsers/record-jar.xslt +++ b/parsers/record-jar.xslt @@ -11,11 +11,14 @@ SPDX-License-Identifier: MPL-2.0 This Source Code Form is subject to the terms of the Mozilla Public License, v 2.0. If a copy of the M·P·L was not distributed with this file, You can obtain one at . --> + +]> urn:fdc:ladys.computer:20231231:Shu1She4:record-jar.xslt diff --git a/parsers/tsv.xslt b/parsers/tsv.xslt index 5b3cc68..90e156e 100644 --- a/parsers/tsv.xslt +++ b/parsers/tsv.xslt @@ -11,11 +11,14 @@ SPDX-License-Identifier: MPL-2.0 This Source Code Form is subject to the terms of the Mozilla Public License, v 2.0. If a copy of the M·P·L was not distributed with this file, You can obtain one at . --> + +]> - + - - + + - + + + col + - + - - - + + + @@ -61,9 +67,9 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one - + - + @@ -74,16 +80,16 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one - + - + - + - - + +