clone this repo
create an oXgen-project for this repo called rb-xsl
Set up an Transformation-Scenario
called tei2html
- XML: any file from
xsl-tutorial/source/data/editions/
- XSL:
xsl-tutorial/xsl/xml2html.xsl
xsl-tutorial/target/html/{whateveryouwant.html}
Make your Transformation-Scenario
more generic
- Transform all documents stored in one collection/directory
- store the results of the transformation as
xsl-tutorial/target/html/{nameOfSourceDoc.html}
The content of the tei:title
element should show up in the html:title
element
Dump the whole content of tei:body
in some division in html:body
Write an xsl:template
surrounding all tei:rs
-elemnts with an html:strong
element
Each different tei:rs
type should be displayed in a different color.
Render content of tei:header
and tei:body
in two separate e.g. html:panels
(div class='panel'
)
fetch all entities (tei:place
) and present them in some kind of index, e.g. as html:li
maybe using somthing like xsl:for-each