The Text Encoding Initiative

TEI Consortium XSLT stylesheets

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

linking.xsl

TEI stylesheet dealing with elements from the linking module.
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:
linking.xsl 4801 2008-09-13 10:05:32Z rahtz
Copyright:
2008, TEI Consortium

Match Templates Summary

Process elements tei:ptr|tei:xptr in xref mode
Process elements tei:ref|tei:xref
tei:TEI (mode: xref) - source
Process elements tei:TEI
tei:anchor|tei:p (mode: xref) - source
Process elements tei:anchor|tei:p in xref mode
tei:bibl (mode: xref) - source
Process elements tei:bibl
Process elements tei:div|tei:div0|tei:div1|tei:div2|tei:div3|tei:div4|tei:div5|tei:div6 in xref mode
tei:note (mode: xref) - source
Process elements tei:note

Named Templates Summary

formatHeadingNumber (param: texttoc) - source
[common] processing the number portion of a heading
header (param: minimaltocdisplay) - source
[common] Making a heading for something
headerLink (param: minimal) - source
[common] Making a heading for something, and making sure it has contents
makeTEILink (param: ptr) - source
[common] Make a hypertext link

Match Templates Detail

Process elements tei:ptr|tei:xptr in xref mode
 
Process elements tei:ref|tei:xref
 
tei:TEI (mode: xref) - source
Process elements tei:TEI
 
tei:anchor|tei:p (mode: xref) - source
Process elements tei:anchor|tei:p in xref mode
 
tei:bibl (mode: xref) - source
Process elements tei:bibl
 
Process elements tei:div|tei:div0|tei:div1|tei:div2|tei:div3|tei:div4|tei:div5|tei:div6 in xref mode
 
Parameters:
minimal - whether to make a link with just numbers or with text too
tei:note (mode: xref) - source
Process elements tei:note
 

Named Templates Detail

formatHeadingNumber (param: texttoc) - source
[common] processing the number portion of a heading
By default, the text is printed as is. You may wish to colour it, align it, etc
Parameters:
text -
toc -
header (param: minimaltocdisplay) - source
[common] Making a heading for something
 
Parameters:
minimal - whether to display headings
toc - whether this is making a TOC entry
display - detail of display (full, simple, plain), ie whether markup is followed
headerLink (param: minimal) - source
[common] Making a heading for something, and making sure it has contents
This is a wrapper around the "header" template which ensures that some text is returned; if all else fails, the element name is used.
Parameters:
minimal - false
makeTEILink (param: ptr) - source
[common] Make a hypertext link

cross-referencing

Parameters:
ptr - ptr