The Text Encoding Initiative

TEI Consortium XSLT stylesheets

Home | Guidelines | Projects | Tutorials | Software | History | FAQs | P5 | Consortium | Activities | SIGs | Join in/Contact | Members area

tei-param.xsl

TEI stylesheet customization module, common for all output formats.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Author:
See AUTHORS
CVS Id:
tei-param.xsl 4801 2008-09-13 10:05:32Z rahtz
Copyright:
2008, TEI Consortium

Parameters Summary

string REQUEST - source
The complete URL when the document is being delivered from a web server (normally set by Apache or Cocoon)
boolean STDOUT - source
Write to standard output channel
boolean autoHead - source
Construct a heading for <div> elements with no <head>
string cellAlign - source
Default alignment of table cells
string class_toc - source
CSS class for TOC entries
string department - source
Name of department within institution
How to display Relax NG schema fragments (rnc or rng)
Directory specification to put before names of graphics files, unless they start with "./"
Default file suffix for graphics files, if not directly specified
Punctuation to insert after a section number
string homeLabel - source
Name of link to home page of application
anyURI homeURL - source
Project Home
string homeWords - source
Project
Institution
Provide minimal context for a link
Automatically number figures in back matter
How to construct heading numbering in back matter
Automatically number tables in back matter
How to construct heading numbering in main matter
Automatically number figures
Automatically number figures in front matter
How to construct heading numbering in front matter
Automatically number tables in front matter
Automatically number sections
Depth to which sections should be numbered
Character to put after number of section header
boolean numberTables - source
Automatically number tables
Display of <pb> element
anyURI parentURL - source
Institution link
Name of overall institution
string postQuote - source
Character to insert at end of quote
string preQuote - source
Character to insert at start of quote
Use value of "n" attribute to number sections
anyURI searchURL - source
Link to search application
Scaling of imported graphics
string tableAlign - source
Default alignment of tables
boolean teiP4Compat - source
Process elements according to assumptions of TEI P4
anyURI teixslHome - source
The home page for these stylesheets
Title, author and date is taken from the <teiHeader> rather than looked for in the front matter

Named Templates Summary

[common] How to make a heading for section if there is no <head>
[common] How to number sections in back matter
[common] How to number sections in main matter
numberFrontDiv (param: minimal) - source
[common] How to number sections in front matter
[common] Hook where actions can be inserted when making a heading

Parameters Detail

string REQUEST - source
The complete URL when the document is being delivered from a web server (normally set by Apache or Cocoon)
 
Default:
boolean STDOUT - source
Write to standard output channel
 
Default: true
boolean autoHead - source
Construct a heading for <div> elements with no <head>
 
Default:
string cellAlign - source
Default alignment of table cells
 
Default: left
string class_toc - source
CSS class for TOC entries
 
Default: toc
string department - source
Name of department within institution
 
Default:
How to display Relax NG schema fragments (rnc or rng)
 
Default: rnc
Directory specification to put before names of graphics files, unless they start with "./"
 
Default:
Default file suffix for graphics files, if not directly specified
 
Default: .png
Punctuation to insert after a section number
 
Default: <text>.</text> <value-of select="$numberSpacer"/>
string homeLabel - source
Name of link to home page of application
 
Default: Home
anyURI homeURL - source
Project Home
 
Default: http://www.tei-c.org/
string homeWords - source
Project
 
Default: TEI
Institution
 
Default: A TEI Project
Provide minimal context for a link
 
Default: false
Automatically number figures in back matter
 
Default: false
How to construct heading numbering in back matter
 
Default: A.1
Automatically number tables in back matter
 
Default: true
How to construct heading numbering in main matter
 
Default: 1.1.1.1
Automatically number figures
 
Default: true
Automatically number figures in front matter
 
Default: false
How to construct heading numbering in front matter
 
Default:
Automatically number tables in front matter
 
Default: true
Automatically number sections
 
Default: true
Depth to which sections should be numbered
 
Default: 9
Character to put after number of section header
 
Default: <text> </text>
boolean numberTables - source
Automatically number tables
 
Default: true
Display of <pb> element
Choices are "visible", "active" and "none".
Default: visible
anyURI parentURL - source
Institution link
 
Default: http://www.tei-c.org/
Name of overall institution
 
Default: Parent Institution
string postQuote - source
Character to insert at end of quote
 
Default:
string preQuote - source
Character to insert at start of quote
 
Default:
Use value of "n" attribute to number sections
 
Default: false
anyURI searchURL - source
Link to search application
 
Default: http://www.google.com
Scaling of imported graphics
 
Default: 1
string tableAlign - source
Default alignment of tables
 
Default: left
boolean teiP4Compat - source
Process elements according to assumptions of TEI P4
 
Default: false
anyURI teixslHome - source
The home page for these stylesheets
 
Default: http://www.tei-c.org/Stylesheets/teic/
Title, author and date is taken from the <teiHeader> rather than looked for in the front matter
 
Default: false

Named Templates Detail

[common] How to make a heading for section if there is no <head>
 
[common] How to number sections in back matter
 
[common] How to number sections in main matter
 
numberFrontDiv (param: minimal) - source
[common] How to number sections in front matter
 
Parameters:
minimal -
[common] Hook where actions can be inserted when making a heading