Created split.xslt
and docx-splitter.xpl
for unit testing with HTML output
For use in XSweet: split-for-xsweet.xslt
and docx-splitter-for-xsweet.xpl
Created a splitter-chain.sh
runner-script for dove-tailing into XSweet execute-chain.sh
For footnotes/endnotes to work properly we need to make some backward compatible modifications to XSweet/applications/docx-extract/docx-html-extract.xsl
variables:
<xsl:variable name="endnotes-file" select="replace(document-uri(.),'document([0-9]*)[.]xml$','endnotes$1.xml')"/>
<xsl:variable name="footnotes-file" select="replace(document-uri(.),'document([0-9]*)[.]xml$','footnotes$1.xml')"/>