]> Lady’s Gitweb - Shushe/blob - parsers/plain.xslt
Don’t use literal result elements in transforms
[Shushe] / parsers / plain.xslt
1 <?xml version="1.0"?>
2 <!--
3 SPDX-FileCopyrightText: 2023, 2024 Lady <https://www.ladys.computer/about/#lady>
4 SPDX-License-Identifier: MPL-2.0
5 -->
6 <!--
7 ⁌ ⛩📰 书社 ∷ parsers/plain.xslt
8
9 © 2023–2024 Lady [@ Ladys Computer].
10
11 This Source Code Form is subject to the terms of the Mozilla Public License, v 2.0.
12 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/>.
13 -->
14 <!DOCTYPE transform [
15 <!ENTITY xhtml 'http://www.w3.org/1999/xhtml'>
16 ]>
17 <transform
18 xmlns="http://www.w3.org/1999/XSL/Transform"
19 xmlns:html="&xhtml;"
20 xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4"
21 version="1.0"
22 >
23 <书社:id>urn:fdc:ladys.computer:20231231:Shu1She4:plain.xslt</书社:id>
24 <template match="html:script[@type='text/plain']">
25 <element name="pre" namespace="&xhtml;">
26 <value-of select="."/>
27 </element>
28 </template>
29 </transform>
This page took 0.050222 seconds and 5 git commands to generate.