Commit 982f02c1 authored by Wendell Piez's avatar Wendell Piez

Reassuring paranoid Saxon error warning with explicit 'child::' axis identifier

parent 2edfadb9
......@@ -35,7 +35,7 @@
<!-- Retrieveing endnotes, keep only those that are referenced, in their order of reference. -->
<xsl:template match="div[@class='docx-endnotes']">
<xsl:variable name="notes" select="div[@class='docx-endnote']"/>
<xsl:variable name="notes" select="child::div[@class='docx-endnote']"/>
<xsl:copy>
<xsl:copy-of select="@*"/>
<!-- We only capture end notes that have actually been referenced, in their order of referencing. -->
......@@ -48,7 +48,7 @@
</xsl:template>
<xsl:template match="div[@class='docx-footnotes']">
<xsl:variable name="notes" select="div[@class='docx-footnote']"/>
<xsl:variable name="notes" select="child::div[@class='docx-footnote']"/>
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:for-each
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment