Customizing XSLT TEI stylesheet

Here should go questions about transforming XML with XSLT and FOP.
filologanoga
Posts: 2
Joined: Sun Aug 24, 2008 11:30 pm

Customizing XSLT TEI stylesheet

Post by filologanoga »

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:

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.
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:

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>
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
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Customizing XSLT TEI stylesheet

Post by sorin_ristache »

Hello,

There is no parameter for changing these strings in the output so you need to modify a stylesheet. This is a question for the developers of the TEI XSL stylesheets. You should ask this on the TEI-L mailing list.


Regards,
Sorin
Post Reply