]> Lady’s Gitweb - Shushe/blob - lib/catalog2parser.xslt
d044503332104cc0e175a02a593112b6e1ac3590
[Shushe] / lib / catalog2parser.xslt
1 <?xml version="1.0"?>
2 <!--
3 ⁌ ⛩️📰 书社 ∷ lib/catalog2parser.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:catalog="urn:oasis:names:tc:entity:xmlns:xml:catalog"
13 xmlns:xsla="http://www.w3.org/1999/XSL/TransformAlias"
14 exclude-result-prefixes="catalog"
15 version="1.0"
16 >
17 <namespace-alias stylesheet-prefix="xsla" result-prefix="#default"/>
18 <template match="/">
19 <xsla:transform version="1.0">
20 <for-each select="//catalog:uri">
21 <xsla:include href="{@uri}"/>
22 </for-each>
23 <xsla:template match="@*|node()" priority="-1">
24 <xsla:copy>
25 <xsla:apply-templates select="@*|node()"/>
26 </xsla:copy>
27 </xsla:template>
28 </xsla:transform>
29 </template>
30 </transform>
This page took 0.05071 seconds and 3 git commands to generate.