]> Lady’s Gitweb - Shushe/blob - transforms/asset.xslt
90c8dbd0b420f93fc48bfbe28ac80f928d2c88cc
[Shushe] / transforms / asset.xslt
1 <?xml version="1.0"?>
2 <!--
3 ⁌ ⛩️📰 书社 ∷ transforms/asset.xslt
4
5 © 2023–2024 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 <书社:id>urn:fdc:ladys.computer:20231231:Shu1She4:asset.xslt</书社:id>
18 <template match="html:object[@type='text/css']">
19 <comment>
20 <text>[书社:CSS] </text>
21 <value-of select="@data"/>
22 </comment>
23 </template>
24 <template match="comment()[starts-with(., '[书社:CSS] ')]" mode="书社:metadata">
25 <html:link rel="stylesheet" type="text/css" href="{substring-after(., '[书社:CSS] ')}"/>
26 </template>
27 <template match="html:object[@type='text/javascript']">
28 <html:script type="{@type}" src="{@data}"/>
29 </template>
30 </transform>
This page took 0.043604 seconds and 3 git commands to generate.