Some issue for tei conversion html

Here should go questions about transforming XML with XSLT and FOP.
moon_scar
Posts: 2
Joined: Wed Jun 08, 2022 12:46 pm

Some issue for tei conversion html

Post by moon_scar »

At present, I use oxgarage to build a web service to convert tei to html .
There are some issues with the generated html page.
  • The number of TOC entries is not reasonable. I want to use the value of the n attribute in the head tag in the original tei file as the directory number.
  • The conversion method of formula tag in tei file is unreasonable. I want the formula content in the html to be wrapped by a tag, such as a div.
  • The content in the abstract in the Tei file is not converted into the html file, I want to create a template for the abstract part.
The number of the xslt file is huge and I would like to get some suggestions for modifications, which files should be modified .
Radu
Posts: 8003
Joined: Fri Jul 09, 2004 5:18 pm

Re: Some issue for tei conversion html

Post by Radu »

Hi,

Oxygen uses for TEI to XHTML publishing the TEI XSLT stylesheets maintained by the TEI C organization:
https://github.com/TEIC/Stylesheets
We do not know many details about how they work and can be configured.
Maybe you can try to register on the TEI mailing list and ask there: https://tei-c.org/support/#tei-l
If you are using Oxygen XML Editor for TEI to XHTML publishing, if in the Oxygen "Configure Transformation Scenarios" dialog you edit the transformation scenario you can click the "Parameters" button and Oxygen will show you all pameters defined in the TEI stylesheets, for example there is a param named "tocDepth".
There is also some documentation here:
https://tei-c.org/tools/stylesheets/tei ... -handbook/

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
moon_scar
Posts: 2
Joined: Wed Jun 08, 2022 12:46 pm

Re: Some issue for tei conversion html

Post by moon_scar »

Thanks for your replies, these are very useful to me
Post Reply