#577 error Docx to tei with Xquery

RED
closed-fixed
None
8
2013-06-03
2013-06-01
javad
No

hi
tei-6.31 can not docx to tei in XQuery and happen this error:
" Variable $styleDoc has not been declared "
And with Saxson happen this error:
"The following error occurred while executing this line:
/home/pc3/Downloads/XSLT/tei-xsl-6.31/xml/tei/stylesheet/docx/build-from.xml:52: stylesheet /home/pc3/Downloads/XSLT/tei-xsl-6.31/xml/tei/stylesheet/docx/${profiledir}/default/docx/from.xsl doesn't exist."

Discussion

  • Sebastian Rahtz

    Sebastian Rahtz - 2013-06-01

    Sorry, I cant help without a lot more information about how you were running this. Unless I can replicate your error, I cant fix anything.

     
  • javad

    javad - 2013-06-02

    i run docxtotei.xsl with Xquery without Error in tei-6.27 but in tei-6.31 happening error.

    for example :
    transform:transform(doc('/db/w/word/document.xml'),doc('/db/tanaafos/xsls/teixsl/stylesheet/docx/from/docxtotei.xsl'),
    <parameters>
    <param name="word-directory" value="/db/w"></param>
    </parameters>
    )
    i run Saxson with "ant -f docxtotei.xml". in tei-6.30 is build Successfull but in tei-6.31 happening this error:
    "The following error occurred while executing this line:
    /home/pc3/Downloads/XSLT/tei-xsl-6.31/xml/tei/stylesheet/docx/build-from.xml:52: stylesheet /home/pc3/Downloads/XSLT/tei-xsl-6.31/xml/tei/stylesheet/docx/${profiledir}/default/docx/from.xsl doesn't exist."

     
  • Sebastian Rahtz

    Sebastian Rahtz - 2013-06-02

    This is puzzling. the changes between 6.27 and 6.32 should not stop it working like that. The variable styleDoc is declared in docxtotei.xsl in the normal way.

    In the second example, you say you do "ant -f docxtotei.xml", but docxtotei.xml is not an Ant script which I supply.

     
  • javad

    javad - 2013-06-03

    "docxtotei.xml" is An Ant script file.i create this file.(this file is in attachment)
    how i can use from new version with XQuery?
    or can i use from this with Ant?
    or is new way for use this?

     
    Last edit: javad 2013-06-03
  • Sebastian Rahtz

    Sebastian Rahtz - 2013-06-03
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks