X-Git-Url: https://git.ladys.computer/Shushe/blobdiff_plain/44ad50cac2e0fb39ba3cf8b3d5bdf3840e47dc34..7e39a36064ba7afc8c061ca5c2da125756014553:/transforms/metadata.xslt?ds=sidebyside

diff --git a/transforms/metadata.xslt b/transforms/metadata.xslt
index 71a10c5..c481750 100644
--- a/transforms/metadata.xslt
+++ b/transforms/metadata.xslt
@@ -13,18 +13,19 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
 -->
 <!DOCTYPE transform [
 	<!ENTITY attoplevel "not(ancestor::html:template) and ancestor::html:*[@itemscope and @itemtype='&书社;:document'] and not(ancestor::html:*[@itemscope]/ancestor::html:*[@itemscope and @itemtype='&书社;:document'] or preceding::html:*[@itemtype='&书社;:document'])">
+	<!ENTITY xhtml "http://www.w3.org/1999/xhtml">
 	<!ENTITY 书社 "urn:fdc:ladys.computer:20231231:Shu1She4">
 ]>
 <transform
 	xmlns="http://www.w3.org/1999/XSL/Transform"
-	xmlns:html="http://www.w3.org/1999/xhtml"
-	xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4"
+	xmlns:html="&xhtml;"
+	xmlns:书社="&书社;"
 	version="1.0"
 >
 	<书社:id>urn:fdc:ladys.computer:20231231:Shu1She4:metadata.xslt</书社:id>
 	<template match="html:meta[not(@name) and @itemprop='&书社;:title'][&attoplevel;]" mode="书社:metadata">
-		<html:title>
+		<element name="title" namespace="&xhtml;">
 			<value-of select="@content"/>
-		</html:title>
+		</element>
 	</template>
 </transform>