Errors when transforming with Oxygen/Saxon
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
Hello Kozyniak Thank you for contributing and sorry for late reply. Could you provide an example docx file that produce the error.
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.