]> Lady’s Gitweb - Shushe/blob - transforms/asset.xslt
a85c891c3dbbedfd0da5ddc0a9c58f5a215559b7
[Shushe] / transforms / asset.xslt
1 <?xml version="1.0"?>
2 <!--
3 ⁌ ⛩️📰 书社 ∷ transforms/asset.xslt
4
5 © 2023 Lady [@ Lady’s Computer]
6
7 This Source Code Form is subject to the terms of the Mozilla Public License, v 2.0.
8 If a copy of the M·P·L was not distributed with this file, You can obtain one at <https://mozilla.org/MPL/2.0/>.
9 -->
10 <transform
11 xmlns="http://www.w3.org/1999/XSL/Transform"
12 xmlns:html="http://www.w3.org/1999/xhtml"
13 xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4"
14 exclude-result-prefixes="书社"
15 version="1.0"
16 >
17 <template match="html:object[@type='text/css']">
18 <comment>
19 <text>[书社:CSS] </text>
20 <value-of select="@data"/>
21 </comment>
22 </template>
23 <template match="comment()[starts-with(., '[书社:CSS] ')]" mode="书社:metadata">
24 <html:link rel="stylesheet" type="text/css" href="{substring-after(., '[书社:CSS] ')}"/>
25 </template>
26 <template match="html:object[@type='text/javascript']">
27 <html:script type="{@type}" src="{@data}"/>
28 </template>
29 </transform>
This page took 0.083215 seconds and 3 git commands to generate.