Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with duplicate id's after conversion to FoLiA #4

Open
JessedeDoes opened this issue Oct 17, 2019 · 1 comment
Open

Issue with duplicate id's after conversion to FoLiA #4

JessedeDoes opened this issue Oct 17, 2019 · 1 comment
Assignees
Labels

Comments

@JessedeDoes
Copy link
Member

No description provided.

@JessedeDoes JessedeDoes self-assigned this Oct 17, 2019
@proycon
Copy link

proycon commented Oct 28, 2019

To solve this with little effort, you might perhaps want to use the tei2folia stylesheet I recently developed (derived from your earlier work): https://github.com/proycon/foliatools/blob/master/foliatools/tei2folia.xsl

You could merge that one back into OpenConvert, although in my tei2folia tool I do rely on some extra post-processing using the FoLiA python library. I also downgraded the stylesheet to XSLT1.0 instead of 2.0 as I'm still tied to some older implementations (libxml2). There may also be some INT-specific things which got removed. On the bright side though, this stylesheet produces valid FoLiA v2 and was tested on the TEI file samples you send me a while back, as well as the whole of Nederlab's DBNL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants