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

Post-processing with XSLT #82

Open
ebeshero opened this issue Sep 6, 2022 · 1 comment
Open

Post-processing with XSLT #82

ebeshero opened this issue Sep 6, 2022 · 1 comment
Labels
postProcessing with XSLT any issues in which we organize information for post-processing collation outputs with XSLT.

Comments

@ebeshero
Copy link
Member

ebeshero commented Sep 6, 2022

Here is a list of things that @Yuying-Jin and I have decided are best handled in post-processing of collation files with XSLT.

  • Ampersand and other special characters generated by nodeToXML() output of longTokens, adds, dels (inlineVariationEvent): & or "

    • ONLY if in fact these do prove to be a problem. (They may turn out just as & after all in the edition output!)
  • For inlineVariation events where we have constructed "long tokens": we now output these as a complete unit from start to end in only one <rdgGrp> and <rdg>. This means that sometimes the other witnesses split around them awkwardly. We should smooth out the awkwardness with this algorithm:

    • If the contents of a "long token" contains() a string from the very next <app> element following::app[1], then move the contents of that very next <app> up into the current app of the long token, and remove the very next <app>.
@ebeshero ebeshero added the postProcessing with XSLT any issues in which we organize information for post-processing collation outputs with XSLT. label Sep 6, 2022
@ebeshero
Copy link
Member Author

ebeshero commented Sep 7, 2022

Also posted on collateX-Testing repo: FrankensteinVariorum/collateX-Testing#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
postProcessing with XSLT any issues in which we organize information for post-processing collation outputs with XSLT.
Projects
None yet
Development

No branches or pull requests

1 participant