core.xsl
TEI stylesheet
dealing with elements from the
core module, making HTML output.
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:
Sebastian Rahtz sebastian.rahtz@oucs.ox.ac.uk
CVS Id:
core.xsl,v 1.6 2005/06/20 22:43:36 rahtz Exp
Copyright:
2005, TEI Consortium
Match Templates Summary
Process elements tei:author
Process elements tei:author
Process elements tei:editor
Process elements tei:monogr
Process elements tei:monogr
Process elements tei:monogr
Process elements tei:address
Process elements tei:addrLine
Process elements tei:analytic
Process elements tei:bibl/tei:title
Process elements tei:biblScope
Process elements tei:biblStruct
Process elements tei:byline
Process elements tei:change
Process elements tei:cit[@rend='display']
Process elements tei:edition
Process elements tei:editor
Process elements tei:epigraph
Process elements tei:epigraph
Process elements tei:epigraph/lg
Process elements tei:foreign
Process elements tei:imprint
Process elements tei:item/label
Process elements tei:l[@copyOf]|lg[@copyOf]
Process elements tei:lg/tei:l
Process elements tei:list/tei:label
Process elements tei:listBibl
Process elements tei:mentioned
Process elements tei:note[@type='action']
Process elements tei:p[@rend='box']
Process elements tei:publisher
Process elements tei:q[@rend='display']
Process elements tei:q[@rend='eg']
Process elements tei:quote[@rend='quoted']
Process elements tei:respStmt
Process elements tei:salute
Process elements tei:series
Process elements tei:signed
Process elements tei:soCalled
Process elements tei:title[@level='a']
Process elements tei:titleStmt/tei:title
Process elements tei:witList
Process elements tei:witness
Named Templates Summary
[html]
[html] Show relevant footnotes
[html]
[html]
[html]
[html]
[html]
[html]
Match Templates Detail
Process elements tei:author
Process elements tei:author
Process elements tei:editor
Process elements tei:*
anything with a head can go in the TOC
Parameters:
forcedepth - forcedepth
Process elements tei:monogr
Process elements tei:monogr
Process elements tei:monogr
Process elements tei:address
Process elements tei:addrLine
Process elements tei:analytic
Process elements tei:bibl/tei:title
Process elements tei:biblScope
Process elements tei:biblStruct
Process elements tei:byline
Process elements tei:change
Process elements tei:cit[@rend='display']
quoting
Process elements tei:edition
Process elements tei:editor
Process elements tei:epigraph
Process elements tei:epigraph
Process elements tei:epigraph/lg
Process elements tei:foreign
Process elements tei:imprint
Process elements tei:item/label
Process elements tei:l[@copyOf]|lg[@copyOf]
copyOf handling
Process elements tei:lg/tei:l
Process elements tei:list
Lists. Depending on the value of the 'type' attribute, various HTML lists are generated:
- bibl
- Items are processed in mode 'bibl'
- catalogue
- A gloss list is created, inside a paragraph
- gloss
- A gloss list is created, expecting alternate label and item elements
- glosstable
- Label and item pairs are laid out in a two-column table
- inline
- A comma-separate inline list
- runin
- An inline list with bullets between items
- unordered
- A simple unordered list
- ordered
- A simple ordered list
- vallist
- (Identical to glosstable)
Process elements tei:list/tei:label
Process elements tei:listBibl
Process elements tei:mentioned
Process elements tei:note[@type='action']
Process elements tei:p[@rend='box']
Process element tei:pb
Indication of a page break. For the purposes of HTML,
we simply make it an anchor if it has an ID.
Process elements tei:publisher
Process elements tei:q[@rend='display']
Process elements tei:q[@rend='eg']
Process elements tei:quote[@rend='quoted']
Process elements tei:respStmt
Process elements tei:salute
Process elements tei:series
Process elements tei:signed
Process elements tei:soCalled
Process elements tei:title[@level='a']
Process elements tei:titleStmt/tei:title
Process elements tei:witList
Process elements tei:witness
Named Templates Detail
[html]
[html] Show relevant footnotes
Parameters:
currentID - currentID
[html]
[html]
Parameters:
value -
rest - rest
[html]
Parameters:
extent - extent
[html]
Parameters:
value - current value
rest - remaining values
[html]
Parameters:
value - value
rest - rest
[html]