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

Errors when transforming with Oxygen/Saxon

Open ghost opened this issue 10 years ago • 2 comments

I tried using docxtohtml to transform a document with Oxygen/Saxon, and received the following errors:

Error in expression w:p[w:pPr/w:numPr and count(./preceding-sibling::w:p[w:pPr/w:numPr/w:numId/@w:val=current()/w:pPr/w:numPr/w:numId/@w:val]) > 0 ]: The current() function may not be used in a pattern

Error in expression w:p[w:pPr/w:numPr and not(./preceding-sibling::w:p[w:pPr/w:numPr/w:numId/@w:val=current()/w:pPr/w:numPr/w:numId/@w:val])]: The current() function may not be used in a pattern

ghost avatar Jan 13 '16 06:01 ghost

Hello Kozyniak Thank you for contributing and sorry for late reply. Could you provide an example docx file that produce the error.

ottoville avatar Jan 25 '16 21:01 ottoville

Hello Kozuniak.

The module which was causing your error have now been mostly rewritten. https://github.com/ottoville/DOCX2HTML.XSL/archive/master.zip However, since I was not able to test your error as I dont have any docx file which causes it I cannot verify that error you faced have been fixed.

Please report if you are still facing the issue, otherwise I will fill this bug as closed after an week.

ottoville avatar May 07 '16 09:05 ottoville