Customizing XSLT TEI stylesheet
Here should go questions about transforming XML with XSLT and FOP.
-
- 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:
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
-
- 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
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
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service