Stylesheet
odttotei.xsl
Documentation
Description
TEI stylesheet for making TEI files from
OpenOffice. Originally derived from the OpenOffice /Docbook
conversion, but largely rewritten
LicenseThis software is dual-licensed:
1. Distributed under a Creative Commons Attribution-ShareAlike 3.0
Unported License http://creativecommons.org/licenses/by-sa/3.0/
2. http://www.opensource.org/licenses/BSD-2-Clause
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
This software is provided by the copyright holders and contributors
"as is" and any express or implied warranties, including, but not
limited to, the implied warranties of merchantability and fitness for
a particular purpose are disclaimed. In no event shall the copyright
holder or contributors be liable for any direct, indirect, incidental,
special, exemplary, or consequential damages (including, but not
limited to, procurement of substitute goods or services; loss of use,
data, or profits; or business interruption) however caused and on any
theory of liability, whether in contract, strict liability, or tort
(including negligence or otherwise) arising in any way out of the use
of this software, even if advised of the possibility of such damage.
Author: See AUTHORS
Id: $Id: odttotei.xsl 12108 2013-05-18 15:18:02Z rahtz $
Copyright: 2013, TEI Consortium
Imported from
Stylesheet version
2.0
Template
* summary
Template
/
Template
office:document-content|office:body
Template
text:variable-set|text:variable-get
Template
teiHeader
Template
/office:document-content/office:body
Template
text:h
Template
text:h[@text:outline-level]
Template
text:p[@text:style-name='XMLComment']
Documentation
Namespace
No namespace
Match
text:p[@text:style-name='XMLComment']
Mode
#default
Import precedence
0
Source
Stylesheet location
../../../odt/odttotei.xsl
Template
text:p[@text:style-name]
Template
office:annotation/text:p
Template
text:p
Template
text:list
Template
text:list-header
Namespace
No namespace
Match
text:list-header
Mode
#default
Import precedence
0
Source
Stylesheet location
../../../odt/odttotei.xsl
Template
text:list-item
Template
text:p[@text:style-name='VarList Item' or @text:style-name='List Contents']
Template
text:p[@text:style-name='VarList Term' or @text:style-name='List Heading']
Template
text:span
Template
applyStyle
Template
table:table
Template
generictable
Template
colspec
Template
table:table-column
Template
table:table-header-rows
Namespace
No namespace
Match
table:table-header-rows
Mode
#default
Import precedence
0
Source
Stylesheet location
../../../odt/odttotei.xsl
Template
table:table-header-rows/table:table-row
Namespace
No namespace
Match
table:table-header-rows/table:table-row
Mode
#default
Import precedence
0
Source
Stylesheet location
../../../odt/odttotei.xsl
Template
table:table/table:table-row
Template
table:table-cell/text:h
Template
table:table-cell
Template
text:note-citation
Template
text:note-body
Template
text:note-ref
Template
text:note
Template
draw:plugin
Template
draw:text-box
Template
draw:frame
Template
draw:image
Template
findGraphic
Template
office:binary-data
Template
text:a
Template
text:line-break
Template
text:tab
Template
text:reference-ref
Template
id.attribute.literal
Template
id.attribute
Template
text:reference-mark-start
Template
text:reference-mark-end
Template
comment
Template
text:user-index-mark
Template
text:alphabetical-index-mark
Template
text:alphabetical-index
Template
text:index-body
Template
text:bookmark-ref
Template
text:bookmark-start
Template
text:bookmark-end
Template
text:bookmark
Template
text:endnotes-configuration
Template
text:file-name
Template
text:footnotes-configuration
Namespace
No namespace
Match
text:footnotes-configuration
Mode
#default
Import precedence
0
Source
Stylesheet location
../../../odt/odttotei.xsl
Template
text:linenumbering-configuration
Template
text:list-level-style-bullet
Template
text:list-level-style-number
Template
text:list-style
Template
text:outline-level-style
Template
text:outline-style
Template
text:s
Template
text:*
Template
office:automatic-styles
Template
office:font-decls
Template
office:meta
Template
office:script
Template
office:settings
Template
office:styles
Template
style:*
Template
dc:*
Template
meta:creation-date
Template
meta:editing-cycles
Template
meta:editing-duration
Template
meta:generator
Template
meta:user-defined
Template
text:section
Template
text:sequence-decl
Template
text:sequence-decls
Template
text:sequence
Template
text:section-source
Template
text:soft-page-break
Template
stars
Namespace
No namespace
Used by
References
Parameters
Import precedence
0
Source
Stylesheet location
../../../odt/odttotei.xsl
Template
text:change|text:changed-region|text:change-end|text:change-start
Template
text:table-of-content
Template
text:index-entry-chapter
Template
text:index-entry-page-number
Template
text:index-entry-tab-stop
Template
text:index-entry-text
Template
text:index-title-template
Template
text:table-of-content-entry-template
Template
text:table-of-content-source
Template
office:text
Template
group-by-section
Template
inSection
Template
@*|text()|comment()|processing-instruction() pass1
Namespace
No namespace
Match
@*|text()|comment()|processing-instruction()
Mode
pass1
Import precedence
0
Source
Stylesheet location
../../../odt/odttotei.xsl
Template
tei:p[not(node())] pass1
Template
tei:HEAD pass1
Template
* pass1
Template
tei:p[not(*) and normalize-space(.)=''] pass2
Template
@*|comment()|processing-instruction() pass2
Namespace
No namespace
Match
@*|comment()|processing-instruction()
Mode
pass2
Import precedence
0
Source
Stylesheet location
../../../odt/odttotei.xsl
Template
* pass2
Template
text() pass2
Template
tei:title pass2
Template
@*|comment()|processing-instruction() pass3
Documentation
Namespace
No namespace
Match
@*|comment()|processing-instruction()
Mode
pass3
Import precedence
0
Source
Stylesheet location
../../../odt/odttotei.xsl
Template
* pass3
Template
text() pass3
Template
tei:div[not(@type)] pass3
Parameter
debug
Parameter
dir
Variable
META
Variable
document-title
Output
(default)
Key
STYLES
Key
LISTS
Key
Headings