Showing:

Documentation
References
Imported modules
Included from
Source
Stylesheet marginals.xsl
Documentation

Description

TEI stylesheet for converting Word docx files to TEI

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Author: See AUTHORS

Id: $Id: from.xsl 6832 2009-10-12 22:42:59Z rahtz $

Copyright: 2008, TEI Consortium

Imported modules
Included from
Template w:footnoteReference
Documentation

Description

Handle footnotes
Namespace No namespace
Match w:footnoteReference
Mode #default
References
Parameter word-directory
Import precedence 11
Source
<xsl:template match="w:footnoteReference">
  <note place="foot">
    <xsl:variable name="referenced-id" select="@w:id"/>
    <xsl:for-each select="document(concat($word-directory,'/word/footnotes.xml'))//w:footnote[@w:id=$referenced-id]">
      <xsl:apply-templates mode="paragraph"/>
    </xsl:for-each>
  </note>
</xsl:template>
Stylesheet location ../../../docx/from/marginals/marginals.xsl
Template w:endnoteReference
Documentation

Description

Handle endnotes
Namespace No namespace
Match w:endnoteReference
Mode #default
References
Parameter word-directory
Import precedence 11
Source
<xsl:template match="w:endnoteReference">
  <note place="end">
    <xsl:variable name="referenced-id" select="@w:id"/>
    <xsl:for-each select="document(concat($word-directory,'/word/endnotes.xml'))//w:endnote[@w:id=$referenced-id]">
      <xsl:apply-templates mode="paragraph"/>
    </xsl:for-each>
  </note>
</xsl:template>
Stylesheet location ../../../docx/from/marginals/marginals.xsl