]> Lady’s Gitweb - Vocab/blobdiff - transforms/render.xslt
Add missing Atom link relation terms
[Vocab] / transforms / render.xslt
index 40ff0a79f0db990c4f5ed4aa9a1ed0d5249f4ee2..bace54455e84535b60466e4212d0988fdb1c410c 100644 (file)
@@ -11,12 +11,12 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
 -->
 <!DOCTYPE transform [
        <!ENTITY en '<attribute xmlns="http://www.w3.org/1999/XSL/Transform" name="lang"><text>en</text></attribute><attribute xmlns="http://www.w3.org/1999/XSL/Transform" name="xml:lang"><text>en</text></attribute>'>
+       <!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:"
-       xmlns:html="http://www.w3.org/1999/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#"
@@ -26,9 +26,9 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
 >
        <书社:id>urn:fdc:vocab.ladys.computer:20240731:transforms:render.xslt</书社:id>
        <template name="Vocab:more-info">
-               <element name="html:span">
+               <element name="span" namespace="&xhtml;">
                        &en;
-                       <element name="html:span">
+                       <element name="span" namespace="&xhtml;">
                                <attribute name="aria-hidden">
                                        <text>true</text>
                                </attribute>
@@ -40,7 +40,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                                </attribute>
                                <text>?⃝</text>
                        </element>
-                       <element name="html:span">
+                       <element name="span" namespace="&xhtml;">
                                <attribute name="style">
                                        <text>clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute</text>
                                </attribute>
@@ -345,15 +345,15 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                <param name="resource-context"/>
                <if test="string($resource-context)='' or string(@rdf:resource)!=$resource-context">
                        <text> </text>
-                       <element name="html:details">
+                       <element name="details" namespace="&xhtml;">
                                <attribute name="class">
                                        <text>inference</text>
                                </attribute>
-                               <element name="html:summary">
+                               <element name="summary" namespace="&xhtml;">
                                        <call-template name="Vocab:more-info"/>
                                </element>
-                               <element name="html:div">
-                                       <element name="html:span">
+                               <element name="div" namespace="&xhtml;">
+                                       <element name="span" namespace="&xhtml;">
                                                &en;
                                                <text>implied by</text>
                                        </element>
@@ -402,15 +402,15 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                <param name="resource-context"/>
                <if test="string($resource-context)='' or string(@rdf:resource)!=$resource-context">
                        <text> </text>
-                       <element name="html:details">
+                       <element name="details" namespace="&xhtml;">
                                <attribute name="class">
                                        <text>inference</text>
                                </attribute>
-                               <element name="html:summary">
+                               <element name="summary" namespace="&xhtml;">
                                        <call-template name="Vocab:more-info"/>
                                </element>
-                               <element name="html:div">
-                                       <element name="html:span">
+                               <element name="div" namespace="&xhtml;">
+                                       <element name="span" namespace="&xhtml;">
                                                &en;
                                                <text>implied by</text>
                                        </element>
@@ -485,15 +485,15 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                <param name="resource-context"/>
                <if test="string($resource-context)='' or string(@rdf:resource)!=$resource-context">
                        <text> </text>
-                       <element name="html:details">
+                       <element name="details" namespace="&xhtml;">
                                <attribute name="class">
                                        <text>inference</text>
                                </attribute>
-                               <element name="html:summary">
+                               <element name="summary" namespace="&xhtml;">
                                        <call-template name="Vocab:more-info"/>
                                </element>
-                               <element name="html:div">
-                                       <element name="html:span">
+                               <element name="div" namespace="&xhtml;">
+                                       <element name="span" namespace="&xhtml;">
                                                &en;
                                                <text>implied by</text>
                                        </element>
@@ -520,9 +520,9 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
        </template>
        <template match="*" mode="Vocab:render-value">
                <param name="root" select="/"/>
-               <element name="html:code">
+               <element name="code" namespace="&xhtml;">
                        <text>&quot;</text>
-                       <element name="html:span">
+                       <element name="span" namespace="&xhtml;">
                                <if test="string(@xml:lang)!=''">
                                        <attribute name="lang">
                                                <value-of select="@xml:lang"/>
This page took 0.128217 seconds and 4 git commands to generate.