6. ⛩️📰 书社 compiles each output file to `build/result`.
-7. ⛩️📰 书社 symlinks most output files from `build/result` to
+7. ⛩️📰 书社 copies most output files from `build/result` to
`build/public`, but it does some additional processing instead on
those which indicate a non‐X·M·L desired final output form.
It is not possible to selectively only declare one prefix for a
name·space to the exclusion of others.
+ `<书社:raw-output>` elements may be used inside of
+ `<书社:serialize-xml>` elements to inject raw output into the
+ serialized X·M·L.
+
The following are recommendations on effective creation of
transforms :—
<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"/>
<with-param name="source" select="string($source)"/>
</call-template>
</template>
- <template match="node()" mode="书社:serialize">
+ <template match="node()" mode="书社:serialize" priority="0">
<param name="namespace" select="''"/>
<param name="declare-namespaces" select="''"/>
<param name="prefix-map">
</with-param>
</apply-templates>
</template>
+ <template match="书社:raw-output" mode="书社:serialize" priority="1">
+ <copy-of select=".//text()"/>
+ </template>
</transform>