]> Lady’s Gitweb - Vocab/blob - transforms/htmlclean.xslt
Add some missing @lang="en" tags to H·T·M·L output
[Vocab] / transforms / htmlclean.xslt
1 <?xml version="1.0"?>
2 <!--
3 SPDX-FileCopyrightText: 2025 Lady <https://www.ladys.computer/about/#lady>
4 SPDX-License-Identifier: MPL-2.0
5 -->
6 <!--
7 © 2025 Lady [@ Ladys Computer].
8
9 This Source Code Form is subject to the terms of the Mozilla Public License, v 2.0.
10 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/>.
11 -->
12 <transform
13 xmlns="http://www.w3.org/1999/XSL/Transform"
14 xmlns:html="http://www.w3.org/1999/xhtml"
15 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
16 xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4"
17 version="1.0"
18 >
19 <书社:id>urn:fdc:vocab.ladys.computer:20240731:transforms:htmlclean.xslt</书社:id>
20 <template match="html:*[not(ancestor::rdf:RDF)]" mode="书社:finalize" priority="0">
21 <element name="{local-name()}" namespace="http://www.w3.org/1999/xhtml">
22 <apply-templates select="@*|node()" mode="书社:finalize"/>
23 </element>
24 </template>
25 </transform>
This page took 0.056439 seconds and 5 git commands to generate.