From: Lady Date: Sun, 28 Sep 2025 02:01:13 +0000 (-0400) Subject: Move expansion into its own transform X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/d64a8d34c7638243f90421664268766df75a42d7?ds=sidebyside Move expansion into its own transform --- diff --git a/README.markdown b/README.markdown index 0b4c4b4..9b649d2 100644 --- a/README.markdown +++ b/README.markdown @@ -633,6 +633,9 @@ Transforms are used to convert X·M·L files into their final output, This conversion happens during the finalization phase, after the main transformation. +- **`transforms/expansion.xslt`:** + Performs embedding, as described above. + - **`transforms/metadata.xslt`:** Provides basic `` metadata. This metadata is generated from `` elements with one of diff --git a/lib/catalog2transform.xslt b/lib/catalog2transform.xslt index 2c1a40e..0ba07f4 100644 --- a/lib/catalog2transform.xslt +++ b/lib/catalog2transform.xslt @@ -52,7 +52,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one - + @@ -318,126 +318,6 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one - - - - - - - - - - - - - - - - - - - - - itemscope - - - - - - - - - - - - - - - - - &书社;:embed - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - itemscope - - - - - - - - - - - - - - - - - &书社;:document - - - - - - - - - - - diff --git a/transforms/expansion.xslt b/transforms/expansion.xslt new file mode 100644 index 0000000..8c0dd69 --- /dev/null +++ b/transforms/expansion.xslt @@ -0,0 +1,140 @@ + + + + +]> + + <书社:id>urn:fdc:ladys.computer:20231231:Shu1She4:expansion.xslt + + +