]> Lady’s Gitweb - Vocab/blobdiff - transforms/rdf.xslt
Add R·F·C 5005 link relations
[Vocab] / transforms / rdf.xslt
index 528f4fb04d65c930f97930fe11751b8942714ee1..d0572397d1fab06fef8f761bfd3edbf18af56708 100644 (file)
@@ -9,11 +9,14 @@ SPDX-License-Identifier: MPL-2.0
 This Source Code Form is subject to the terms of the Mozilla Public License, v 2.0.
 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/>.
 -->
 This Source Code Form is subject to the terms of the Mozilla Public License, v 2.0.
 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/>.
 -->
+<!DOCTYPE transform [
+       <!ENTITY xhtml 'http://www.w3.org/1999/xhtml'>
+]>
 <transform
        xmlns="http://www.w3.org/1999/XSL/Transform"
        xmlns:Vocab="urn:fdc:vocab.ladys.computer:20240731:ns"
        xmlns:Vocabvocab="urn:fdc:vocab.ladys.computer:20240731:vocab:"
 <transform
        xmlns="http://www.w3.org/1999/XSL/Transform"
        xmlns:Vocab="urn:fdc:vocab.ladys.computer:20240731:ns"
        xmlns:Vocabvocab="urn:fdc:vocab.ladys.computer:20240731:vocab:"
-       xmlns:html="http://www.w3.org/1999/xhtml"
+       xmlns:html="&xhtml;"
        xmlns:owl="http://www.w3.org/2002/07/owl#"
        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
        xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
        xmlns:owl="http://www.w3.org/2002/07/owl#"
        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
        xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
@@ -152,7 +155,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                                                                        <value-of select="$curie"/>
                                                                        <text>)</text>
                                                                </attribute>
                                                                        <value-of select="$curie"/>
                                                                        <text>)</text>
                                                                </attribute>
-                                                               <element name="html:{$wrappername}">
+                                                               <element name="{$wrappername}" namespace="&xhtml;">
                                                                        <attribute name="lang">
                                                                                <value-of select="rdfs:label[1]/@xml:lang"/>
                                                                        </attribute>
                                                                        <attribute name="lang">
                                                                                <value-of select="rdfs:label[1]/@xml:lang"/>
                                                                        </attribute>
This page took 0.022498 seconds and 4 git commands to generate.