DOCX2HTML.XSL icon indicating copy to clipboard operation
DOCX2HTML.XSL copied to clipboard

Command Line

Open mhdjameer opened this issue 6 years ago • 0 comments

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

mhdjameer avatar Jan 15 '20 07:01 mhdjameer