- <template match="html:style|html:object[@type='text/css']"/>
- <template match="html:object[@type='text/javascript']">
- <html:script type="{@type}" src="{@data}"/>
+ <template match="html:style[&wrapped; and not(ancestor::html:head)]|html:object[@type='text/css' and &wrapped;]" mode="书社:apply" priority="0"/>
+ <template match="html:object[@type='text/javascript']" mode="书社:apply" priority="0">
+ <html:script type="{@type}" src="{@data}">
+ <copy-of select="@书社:identifier"/>
+ </html:script>