Hello, I am trying to upload a JATS XML file, but it doesn’t work, it goes as loading… and nothing happened.
I am using the open source of Vitality GitHub - Vitaliy-1/DOCX2JATS: Java project, aimed to facilitate DOCX to JATS XML transformation for scientific articles
This is my XML result:
Anyone can please help me cheking what is wrong??
Your some references contains no names at all. Most likely that is the problem. Try to make at least one name of author for each reference and try again.
However, your XML file needs few hours work on Tables and Figures to improve its appearance.
What are you using to display JATS XML?
the lens viewer provided by OJS.
Don’t know about Lens Viewer but you can use Old Gregg theme for displaying JATS XML: GitHub - Vitaliy-1/oldGregg: Theme for OJS 3 with Bootstrap 4
I mean, the default xml viewer.
I will try that theme…
What errors do you see in the browser’s console log?
Is a long message, you can check it here:
FIXME: every section should have a title
Uncaught TypeError: Cannot read property ‘getAttribute’ of null
“every section should have a title” → check if every section has a title.
“Cannot read property ‘getAttribute’ of null” → something related with figures.
Done, I reorganize my document.
It has some tables with images inside, so I did a new wrapped image from that…
The problem now, is that the jat convert doesnt work… This is the error message:
Exception in thread “main” java.lang.NullPointerException
at com.sun.org.apache.xerces.internal.dom.ParentNode.internalInsertBefore(Unknown Source)
at com.sun.org.apache.xerces.internal.dom.ParentNode.insertBefore(Unknown Source)
at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(Unknown Source)
The typical DOCX file for DOCX2JATS should be formated slightly different. Table and Figure title should be right before the table or figure. Table and Figure title shouldn’t be bold or italic. And another part of a caption right after the table or figure and starting with asteristics.
I’m am planning to make a plugin that would parse DOCX better, but right now fisishing the work on JATS to PDF converter.
You can also use PKP’s software for parsing DOCX: http://pkp-xml-demo.lib.sfu.ca/
Okey, is working now! http://220.127.116.11/cedex/index.php/ingenieria-civil/article/view/417/1261#toc
But I dont have any image!
We are doing some part of work manually. For figures the typical code inside JATS is:
<title>This is an example of caption <xref ref-type="bibr" rid="bib12">12</xref>.</title>
okey, thank you very much!