Skip to content

Command Line #8

Description

@mhdjameer

Hi otto,

Hope you are doing good!
I have a doubt in 'docx2html.xsl' my target is to convert .docx file to html in command line. I download your codes and placed in my local system. If i try execute your code in command line using saxon i will get below error message. can you guide me how to solve this issue and get html file. Its very urgent so please help me.

I'm awaiting your positive reply.
Src-GCN_1900020.docx

My command line arguments:

C:\Users\304197>java -jar D:\Saxon\saxon9he.jar -s:D:\Test\CUP\Feedback\20\Math\Src-GCN_1900020\word\document.xml -xsl:D:\Test\W2H\DOCX2HTML.XSL-master\docx2html.xsl -o:D:\Test\CUP\Feedback\20\Math\Src-GCN_1900020.html

Errors
Error at xsl:value-of on line 203 column 48 of docx2html.xsl:
XPST0017 XPath syntax error at char 0 on line 203 in {concat('p>span { ')}:
System function concat() cannot be called with one argument
Error at xsl:value-of on line 216 column 46 of docx2html.xsl:
XPST0017 XPath syntax error at char 0 on line 216 in {concat('span { ')}:
System function concat() cannot be called with one argument
Failed to compile stylesheet. 2 errors detected.

Thanks,
Mhd Jameer
Mobile and Whatapp: +91 9042433322

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions