Add a class inside a Jats XML file

Sorry for asking this here…

But I need to add some styles inside the article view.

I dont know how to add a class inside the JATS XML file.

I can do it by Javascript.

Is there a better way?

In JATS you do not add styles to the JATS document itself. It just describes the different elements of the article.

For visualizing the JATS document you need for example a stylesheet. The stylesheet has details on how the different elements should look like. Just like you have an HTML document and a CSS stylesheet (with the exception that HTML supports also inline styles).

1 Like