Customizing XSLT TEI stylesheet
Posted: Mon Aug 25, 2008 12:18 am
Hello,
I am new both to oXygen (which is becoming more and more familiar and really a useful, excellent tool) and XSLT. I use oXygen ver. 9.3 for validating and transforming TEI P5 XML documents.
So far, the HTML transformation works excellent as it is. But there are some parameters which I do not know how to change.
The default stylesheets put something like this at the bottom of each page:
I have successfully configured everything enclosed in square brackets in the example above. But I do not know what how to configure "Search", "Feedback", and "Date:".
The "Ova je stranica slobodno dostupna" statement is what I have put by hand in the file (oxygen-installation)/frameworks/tei/xml/tei/stylesheet/html/tei-param.xsl, here:
But I would really like to know what parameters should I add in the Transformation/Configure Transformation Scenario dialog (via the Edit/Parameters/Add buttons), to change the copyrightStatement or something like it. And that empty "Date:" also.
I have tried appending a HTML footer via the button Edit/Append header and footer, but then I end up having two footers (the first one as described before).
Yours,
Neven Jovanovic
Zagreb, Hrvatska / Croatia
I am new both to oXygen (which is becoming more and more familiar and really a useful, excellent tool) and XSLT. I use oXygen ver. 9.3 for validating and transforming TEI P5 XML documents.
So far, the HTML transformation works excellent as it is. But there are some parameters which I do not know how to change.
The default stylesheets put something like this at the bottom of each page:
Code: Select all
[Odsjek za klasiÄnu filologiju], [Filozofski fakultet] | [CAuLa] | Search | Feedback
[Juraj Divnić (Georgius Diphnicus Dalmata, 1450? -- 8. VIII. 1530)]. Date:
Ova je stranica slobodno dostupna.
The "Ova je stranica slobodno dostupna" statement is what I have put by hand in the file (oxygen-installation)/frameworks/tei/xml/tei/stylesheet/html/tei-param.xsl, here:
Code: Select all
<xd:doc class="i18n">
<xd:short>[html] Make a copyright claim</xd:short>
<xd:detail>Â </xd:detail>
</xd:doc>
<xsl:template name="copyrightStatement">Ova je stranica slobodno dostupna.</xsl:template>
I have tried appending a HTML footer via the button Edit/Append header and footer, but then I end up having two footers (the first one as described before).
Yours,
Neven Jovanovic
Zagreb, Hrvatska / Croatia