Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#575 DOCX to TEI P5 transform fails

AMBER
closed-fixed
None
5
2013-06-03
2013-05-27
Sorin Ristache
No

DOCX to TEI P5 transform (the script tei/stylesheet/docx/build-from.xml) fails with an error about missing XSLt keys names 'H' and 'W':

[xslt] Loading stylesheet S:\projects\eXml-trunk\frameworks\tei\xml\tei\stylesheet\profiles\default\docx\from.xsl
 [xslt] S:\projects\eXml-trunk\frameworks\tei\xml\tei\stylesheet\docx\utils\functions.xsl:272:89: Fatal Error! Key H has not been defined
 [xslt] S:\projects\eXml-trunk\frameworks\tei\xml\tei\stylesheet\docx\utils\functions.xsl:285:88: Fatal Error! Key W has not been defined

There are two keys named 'H' and 'W' defined in tei/stylesheet/docx/to/graphics.xsl (which means for the TEI P5 to DOCX transform) but not in tei/stylesheet/docx/from/graphics.xsl (the DOCX to TEI P5 transform) which is imported in docx/from.xsl so I am not sure what the definitions of these XSLT keys should be.

1 Attachments

Discussion

    • assigned_to: Sebastian Rahtz
     
  • can you try with the current release (6.31) of the stylesheets? that file docx/utils/functions.xsl does not exist any more after a reorganisation. So I think
    the problem will have solved itself

     
    • status: open --> closed-fixed