From: Lady <redacted> Date: Tue, 2 Apr 2024 01:46:47 +0000 (-0400) Subject: Use @extension-element-prefixes to exclude E·X·S·L X-Git-Tag: 0.7.0~1 X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/d9a975838fa5c06a00ca5031a0d1e18cc66fefd6?ds=sidebyside;hp=8f60c082aa14e189db3de44d460b76967fa6dd1b Use @extension-element-prefixes to exclude E·X·S·L This follows the recommendations on the website and enables the use of E·X·S·L extension elements in addition to the extension functions. --- diff --git a/lib/catalog2transform.xslt b/lib/catalog2transform.xslt index 85d043c..a2af62f 100644 --- a/lib/catalog2transform.xslt +++ b/lib/catalog2transform.xslt @@ -29,7 +29,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one > <namespace-alias stylesheet-prefix="xslt" result-prefix="#default"/> <template match="/"> - <xslt:transform exclude-result-prefixes="catalog exsl exslstr" version="1.0"> + <xslt:transform exclude-result-prefixes="catalog" extension-element-prefixes="exsl exslstr" version="1.0"> <xslt:param name="BUILDTIME" select="'1972-12-31T00:00:00Z'"/> <xslt:param name="CKSUM" select="false()"/> <xslt:param name="CATALOG" select="'catalog'"/> diff --git a/parsers/record-jar.xslt b/parsers/record-jar.xslt index 6255147..9c940d0 100644 --- a/parsers/record-jar.xslt +++ b/parsers/record-jar.xslt @@ -17,7 +17,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one xmlns:exslstr="http://exslt.org/strings" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4" - exclude-result-prefixes="exsl exslstr" + extension-element-prefixes="exsl exslstr" version="1.0" > <书社:id>urn:fdc:ladys.computer:20231231:Shu1She4:record-jar.xslt</书社:id> diff --git a/parsers/tsv.xslt b/parsers/tsv.xslt index 2597060..6c68936 100644 --- a/parsers/tsv.xslt +++ b/parsers/tsv.xslt @@ -17,7 +17,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one xmlns:exslstr="http://exslt.org/strings" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4" - exclude-result-prefixes="exsl exslstr" + extension-element-prefixes="exsl exslstr" version="1.0" > <import href="../lib/split.xslt"/> diff --git a/transforms/asset.xslt b/transforms/asset.xslt index 29a9a8f..f7636c2 100644 --- a/transforms/asset.xslt +++ b/transforms/asset.xslt @@ -17,7 +17,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one xmlns:html="http://www.w3.org/1999/xhtml" xmlns:xslt="http://www.w3.org/1999/XSL/Transform" xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4" - exclude-result-prefixes="exsl" + extension-element-prefixes="exsl" version="1.0" > <书社:id>urn:fdc:ladys.computer:20231231:Shu1She4:asset.xslt</书社:id>