X-Git-Url: https://git.ladys.computer/Shushe/blobdiff_plain/c26abcf07cd0f116b5810946744dd804cc41a208..0.7.2:/lib/catalog2transform.xslt diff --git a/lib/catalog2transform.xslt b/lib/catalog2transform.xslt index 2315762..04c38f9 100644 --- a/lib/catalog2transform.xslt +++ b/lib/catalog2transform.xslt @@ -272,7 +272,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one </xslt:copy> </xslt:template> <xslt:template match="@书社:destination|@书社:disable-output-wrapping|@书社:archived-as[../ancestor::*[not(self::书社:apply-attributes-to-root or self::书社:apply-attributes)]]" mode="书社:application" priority="1"/> - <xslt:template match="书社:archive" mode="书社:application"> + <xslt:template match="书社:archive" mode="书社:application" priority="1"> <xslt:copy> <xslt:for-each select="@*|node()"> <xslt:choose> @@ -301,7 +301,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one </xslt:template> <xslt:template match="书社:apply-attributes" mode="书社:application" priority="1"> <xslt:variable name="children"> - <xslt:apply-templates select="node()" mode="书社:application"/> + <xslt:apply-templates mode="书社:application"/> </xslt:variable> <xslt:call-template name="书社:apply-attributes"> <xslt:with-param name="context-nodes" select="."/> @@ -309,7 +309,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one </xslt:call-template> </xslt:template> <xslt:template match="书社:apply-attributes-to-root" mode="书社:application" priority="1"> - <xslt:apply-templates select="node()" mode="书社:application"/> + <xslt:apply-templates mode="书社:application"/> </xslt:template> <xslt:template match="/node()" mode="书社:expand" priority="0"> <xslt:copy> @@ -389,7 +389,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one <xslt:template match="text()" mode="书社:header"/> <xslt:template match="text()" mode="书社:footer"/> <xslt:template match="text()" mode="书社:metadata"/> - <xslt:output method="xml" encoding="UTF-8" cdata-section-elements="html:script html:style html:textarea 书社:raw-text"/> + <xslt:output method="xml" encoding="UTF-8" cdata-section-elements="html:script html:style html:textarea 书社:raw-output 书社:raw-text"/> </xslt:transform> </template> <output method="xml" encoding="UTF-8"/>