]> Lady’s Gitweb - Shushe/blobdiff - transforms/asset.xslt
Use <书社:apply-attributes-to-root> to add version
[Shushe] / transforms / asset.xslt
index 38d2e671cdde33299c648621e834abaf82b95ebc..2b4359510c0ace6bf6025e71f5d2c6fc089b1bd7 100644 (file)
@@ -23,23 +23,23 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
        version="1.0"
 >
        <书社:id>urn:fdc:ladys.computer:20231231:Shu1She4:asset.xslt</书社:id>
        version="1.0"
 >
        <书社:id>urn:fdc:ladys.computer:20231231:Shu1She4:asset.xslt</书社:id>
-       <template match="html:style[&wrapped; and not(ancestor::html:head)]|html:object[@type='text/css' and &wrapped;]" mode="书社:apply" priority="0"/>
-       <template match="html:object[@type='text/javascript']" mode="书社:apply" priority="0">
+       <template match="html:style[&wrapped; and not(ancestor::html:head)]|html:object[@type='text/css' and &wrapped;]" mode="书社:finalize" priority="0"/>
+       <template match="html:object[@type='text/javascript']" mode="书社:finalize" priority="0">
                <html:script type="{@type}" src="{@data}">
                        <copy-of select="@书社:identifier"/>
                </html:script>
        </template>
                <html:script type="{@type}" src="{@data}">
                        <copy-of select="@书社:identifier"/>
                </html:script>
        </template>
-       <template match="html:object[starts-with(@type, 'audio/')]" mode="书社:apply" priority="0">
+       <template match="html:object[starts-with(@type, 'audio/')]" mode="书社:finalize" priority="0">
                <html:audio controls="" src="{@data}">
                        <copy-of select="@书社:identifier"/>
                </html:audio>
        </template>
                <html:audio controls="" src="{@data}">
                        <copy-of select="@书社:identifier"/>
                </html:audio>
        </template>
-       <template match="html:object[starts-with(@type, 'image/') and not(@type='image/svg+xml')]" mode="书社:apply" priority="0">
+       <template match="html:object[starts-with(@type, 'image/') and not(@type='image/svg+xml')]" mode="书社:finalize" priority="0">
                <html:img src="{@data}">
                        <copy-of select="@书社:identifier|@width|@height"/>
                </html:img>
        </template>
                <html:img src="{@data}">
                        <copy-of select="@书社:identifier|@width|@height"/>
                </html:img>
        </template>
-       <template match="html:object[starts-with(@type, 'video/')]" mode="书社:apply" priority="0">
+       <template match="html:object[starts-with(@type, 'video/')]" mode="书社:finalize" priority="0">
                <html:video controls="" src="{@data}">
                        <copy-of select="@书社:identifier|@width|@height"/>
                </html:video>
                <html:video controls="" src="{@data}">
                        <copy-of select="@书社:identifier|@width|@height"/>
                </html:video>
This page took 0.081357 seconds and 4 git commands to generate.