From: Lady Date: Sun, 30 Jun 2024 20:41:48 +0000 (-0400) Subject: Do asset transforms during application X-Git-Tag: 0.12.0^0 X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/12c64c8b59e7e572988aa4fa39964043bdf67bfe?ds=sidebyside Do asset transforms during application It’s reasonable to expect ordinary transforms to create new `` and `` elements, and these should be handled as well. --- diff --git a/README.markdown b/README.markdown index 37cc7f7..31a7333 100644 --- a/README.markdown +++ b/README.markdown @@ -547,6 +547,8 @@ Transforms are used to convert X·M·L files into their final output, media types into the appropriate H·T·M·L elements, and deletes `` elements from the body of the document and moves them to the head. + This conversion happens during the application phase, after the main + transformation. - **`transforms/metadata.xslt`:** Provides basic `` metadata. diff --git a/lib/catalog2transform.xslt b/lib/catalog2transform.xslt index 6c952e0..1cc6bad 100644 --- a/lib/catalog2transform.xslt +++ b/lib/catalog2transform.xslt @@ -293,11 +293,6 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one - - - - - @@ -345,6 +340,11 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one + + + + + diff --git a/transforms/asset.xslt b/transforms/asset.xslt index 8ed07c4..38d2e67 100644 --- a/transforms/asset.xslt +++ b/transforms/asset.xslt @@ -11,6 +11,9 @@ 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:asset.xslt -