====== Modifying the TEI XSL stylesheets ====== [[http://www.oxygenxml.com/|oXygen XML editor]] comes with a set of [[http://www.oxygenxml.com/doc/ug-editor/topics/author-teip5-doc-type.html|TEI XSL stylesheets]] that can be modified to meet individual needs. You have to know a few things to be able to do it, however; things which I tend to forget again and again. ===== Location of TEI XSL ===== In oXygen 14, TEI XSL stylesheets (e. g. for transforming to XHTML) are here: Oxygen XML Editor 14/frameworks/tei/xml/tei/stylesheet/xhtml2/tei.xsl ===== Including and importing XSL ===== Files that contain instructions to be modified have to be imported; local information (e. g. language specific) will be included: ===== Modifying existing instructions ===== Transform element ''supplied'' to a ''span class="supplied"'': Conditional transformation: transform element ''pb'' to a link only if it has a ''@facs'' attribute; use the value of ''@facs'' to build a hyperlink: [ Facsimile pag. ]