TEIC / Stylesheets

TEI XSL Stylesheets
231 stars 124 forks source link

Nested attLists organized by @org generates bad ODD-to-HTML output #506

Open ebeshero opened 3 years ago

ebeshero commented 3 years ago

Noted in working on https://github.com/TEIC/TEI/issues/2140, the HTML output generated by a set of nested attLists produces problematic HTML documentation. An example of the code that generates problematic output is on the TEI ticket: https://github.com/TEIC/TEI/issues/2140#issue-876073303

The HTML output completely misses valLists and valItems (and glosses, etc): You see only the Relax NG content model. See the example HTML documentation of the <occupation> element in this sample HTML ODD output:

https://htmlpreview.github.io/?https://raw.githubusercontent.com/newtfire/textEncoding-Hub/master/Class-Examples/TEI-ODD-Examples/TypeSubtypeGrouping-ODD/contextDependentAttValues.html#TEI.occupation

Almost certainly related to #144