]> Lady’s Gitweb - Shushe/blob - transforms/metadata.xslt
Allow output wrapping to be disabled
[Shushe] / transforms / metadata.xslt
1 <?xml version="1.0"?>
2 <!--
3 ⁌ ⛩️📰 书社 ∷ transforms/metadata.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 <!DOCTYPE transform [
11 <!ENTITY attoplevel "ancestor::html:*[@itemscope and @itemtype='&书社;:document'] and not(ancestor::html:*[@itemscope]/ancestor::html:*[@itemscope and @itemtype='&书社;:document'] or preceding::html:*[@itemtype='&书社;:document'])">
12 <!ENTITY 书社 "urn:fdc:ladys.computer:20231231:Shu1She4">
13 ]>
14 <transform
15 xmlns="http://www.w3.org/1999/XSL/Transform"
16 xmlns:html="http://www.w3.org/1999/xhtml"
17 xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4"
18 exclude-result-prefixes="书社"
19 version="1.0"
20 >
21 <书社:id>urn:fdc:ladys.computer:20231231:Shu1She4:metadata.xslt</书社:id>
22 <template match="html:meta[not(@name) and @itemprop='&书社;:title'][&attoplevel;]" mode="书社:metadata">
23 <html:title>
24 <value-of select="@content"/>
25 </html:title>
26 </template>
27 </transform>
This page took 0.052597 seconds and 5 git commands to generate.