summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
inline | side by side (from parent 1:
64325bc)
The default behaviour for processing expanded replacements of
`<书社:link>` elements was to expand them again, which was wrong,
beccause they have already been expanded once. They should just be
copied instead.
This line was probably copied from the default behaviour for
`<书社:link>` elements which are not expanded or replaced, where it is
the correct behaviour.
<xslt:copy-of select="@*[not(namespace-uri()='' and (local-name()='itemscope' or local-name()='itemtype'))]|node()"/>
</xslt:when>
<xslt:otherwise>
<xslt:copy-of select="@*[not(namespace-uri()='' and (local-name()='itemscope' or local-name()='itemtype'))]|node()"/>
</xslt:when>
<xslt:otherwise>
- <xslt:apply-templates select="@*|node()" mode="书社:expand"/>
+ <xslt:copy-of select="@*|node()"/>
</xslt:otherwise>
</xslt:choose>
</xslt:copy>
</xslt:otherwise>
</xslt:choose>
</xslt:copy>