Statistics
| Revision:

root / tmp / org.txm.core / res / org / txm / xml / xsl / tei / odds2 / guidelines.xsl @ 187

History | View | Annotate | Download (56.4 kB)

1 187 sjacqu01
<?xml version="1.0" encoding="utf-8"?>
2 187 sjacqu01
<xsl:stylesheet xmlns="http://www.w3.org/1999/xhtml" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="xlink rng tei teix xhtml a html xs xsl" version="2.0">
3 187 sjacqu01
  <xsl:param name="outputDir"><xsl:value-of select="$directory"/>/OPS</xsl:param>
4 187 sjacqu01
  <xsl:key name="EXAMPLES" match="teix:*[ancestor::teix:egXML]" use="concat(ancestor::tei:div[last()]/@xml:id,local-name())"/>
5 187 sjacqu01
  <xsl:key name="HEADS" match="tei:head" use="concat(@xml:lang,@corresp)"/>
6 187 sjacqu01
  <xsl:key name="BACKLINKS" match="teix:egXML[@corresp]" use="substring(@corresp,2)"/>
7 187 sjacqu01
  <xsl:key name="BACKLINKS" match="tei:ptr[@type='cit']" use="substring(@target,2)"/>
8 187 sjacqu01
  <heads xmlns="http://www.tei-c.org/ns/1.0">
9 187 sjacqu01
    <head xml:lang="fr" corresp="AB">À propos des Principes directeurs</head>
10 187 sjacqu01
    <head xml:lang="fr" corresp="AI">Mécanismes analytiques simples</head>
11 187 sjacqu01
    <head xml:lang="fr" corresp="BIB">Bibliographie</head>
12 187 sjacqu01
    <head xml:lang="fr" corresp="CC">Corpus linguistiques</head>
13 187 sjacqu01
    <head xml:lang="fr" corresp="CE">Degré de certitude et responsabilité</head>
14 187 sjacqu01
    <head xml:lang="fr" corresp="CH">Langues et jeux de caractères </head>
15 187 sjacqu01
    <head xml:lang="fr" corresp="CO">Éléments disponibles pour tous les documents TEI</head>
16 187 sjacqu01
    <head xml:lang="fr" corresp="COL">Colophon</head>
17 187 sjacqu01
    <head xml:lang="fr" corresp="dedication">Dédicace</head>
18 187 sjacqu01
    <head xml:lang="fr" corresp="DI">Dictionnaires</head>
19 187 sjacqu01
    <head xml:lang="fr" corresp="DR">Théâtre</head>
20 187 sjacqu01
    <head xml:lang="fr" corresp="DS">Structure textuelle par défaut</head>
21 187 sjacqu01
    <head xml:lang="fr" corresp="FS">Structures de traits</head>
22 187 sjacqu01
    <head xml:lang="fr" corresp="FT">Tableaux, formules et graphiques</head>
23 187 sjacqu01
    <head xml:lang="fr" corresp="GD">Graphes, réseaux et arbres</head>
24 187 sjacqu01
    <head xml:lang="fr" corresp="HD">En-tête TEI</head>
25 187 sjacqu01
    <head xml:lang="fr" corresp="MS">Description de manuscrits</head>
26 187 sjacqu01
    <head xml:lang="fr" corresp="ND">Noms, dates, personnes et lieux</head>
27 187 sjacqu01
    <head xml:lang="fr" corresp="NH">Structures non hiérarchiques</head>
28 187 sjacqu01
    <head xml:lang="fr" corresp="PH">Représentation de sources primaires</head>
29 187 sjacqu01
    <head xml:lang="fr" corresp="PREF">Préface et remerciements</head>
30 187 sjacqu01
    <head xml:lang="fr" corresp="PREFS">Notes préliminaires </head>
31 187 sjacqu01
    <head xml:lang="fr" corresp="REF-CLASSES-ATTS">Classes attributives</head>
32 187 sjacqu01
    <head xml:lang="fr" corresp="REF-CLASSES-MODEL">Classes structurales</head>
33 187 sjacqu01
    <head xml:lang="fr" corresp="REF-ELEMENTS">Éléments</head>
34 187 sjacqu01
    <head xml:lang="fr" corresp="REF-MACROS">Types de données et autres macros </head>
35 187 sjacqu01
    <head xml:lang="fr" corresp="SA">Liens, segmentation et alignement</head>
36 187 sjacqu01
    <head xml:lang="fr" corresp="SG">Petite introduction à XML</head>
37 187 sjacqu01
    <head xml:lang="fr" corresp="ST">Infrastructure de la TEI</head>
38 187 sjacqu01
    <head xml:lang="fr" corresp="TC">Apparat critique</head>
39 187 sjacqu01
    <head xml:lang="fr" corresp="TD">Éléments de déclaration d’un modèle</head>
40 187 sjacqu01
    <head xml:lang="fr" corresp="TitlePageVerso">Versions des Principes directeurs</head>
41 187 sjacqu01
    <head xml:lang="fr" corresp="TS">Transcriptions de la parole</head>
42 187 sjacqu01
    <head xml:lang="fr" corresp="USE">Utiliser la TEI</head>
43 187 sjacqu01
    <head xml:lang="fr" corresp="VE">Poésie</head>
44 187 sjacqu01
    <head xml:lang="fr" corresp="WD">Représentation des caractères et des
45 187 sjacqu01
glyphes non standard</head>
46 187 sjacqu01
    <head xml:lang="zh-TW" corresp="AI">簡易分析機制</head>
47 187 sjacqu01
    <head xml:lang="zh-TW" corresp="CE">確定程度與不確定程度</head>
48 187 sjacqu01
    <head xml:lang="zh-TW" corresp="CO">所有TEI文件所通用的元素</head>
49 187 sjacqu01
    <head xml:lang="zh-TW" corresp="CC">文集文本</head>
50 187 sjacqu01
    <head xml:lang="zh-TW" corresp="DI">紙本字典</head>
51 187 sjacqu01
    <head xml:lang="zh-TW" corresp="DR">劇本</head>
52 187 sjacqu01
    <head xml:lang="zh-TW" corresp="FT">表格、方程式與圖表</head>
53 187 sjacqu01
    <head xml:lang="zh-TW" corresp="WD">文字與字體說明</head>
54 187 sjacqu01
    <head xml:lang="zh-TW" corresp="HD">TEI標頭</head>
55 187 sjacqu01
    <head xml:lang="zh-TW" corresp="FS">功能結構 (Feature Structures)</head>
56 187 sjacqu01
    <head xml:lang="zh-TW" corresp="SA">Linking, segmentation and alignment連結、分割與隊列</head>
57 187 sjacqu01
    <head xml:lang="zh-TW" corresp="MS">寫本描述</head>
58 187 sjacqu01
    <head xml:lang="zh-TW" corresp="ND">名稱與日期</head>
59 187 sjacqu01
    <head xml:lang="zh-TW" corresp="GD">圖形、網絡與樹狀結構</head>
60 187 sjacqu01
    <head xml:lang="zh-TW" corresp="TS">轉錄的言詞</head>
61 187 sjacqu01
    <head xml:lang="zh-TW" corresp="TD">TEI模組說明</head>
62 187 sjacqu01
    <head xml:lang="zh-TW" corresp="ST">所有TEI模組可用的元素集、資料類型、巨集指令之宣告</head>
63 187 sjacqu01
    <head xml:lang="zh-TW" corresp="TC">學術編輯註解</head>
64 187 sjacqu01
    <head xml:lang="zh-TW" corresp="DS">預設文件結構</head>
65 187 sjacqu01
    <head xml:lang="zh-TW" corresp="PH">原文轉錄</head>
66 187 sjacqu01
    <head xml:lang="zh-TW" corresp="VE">韻文結構</head>
67 187 sjacqu01
    <head xml:lang="zh-TW" corresp="dedication">獻辭</head>
68 187 sjacqu01
    <head xml:lang="zh-TW" corresp="PREF">序言與致謝</head>
69 187 sjacqu01
    <head xml:lang="zh-TW" corresp="PREFS">序文的言辭</head>
70 187 sjacqu01
    <head xml:lang="zh-TW" corresp="REF-CLASSES-ATTS">屬性集</head>
71 187 sjacqu01
    <head xml:lang="zh-TW" corresp="REF-CLASSES-MODEL">元素集</head>
72 187 sjacqu01
    <head xml:lang="zh-TW" corresp="REF-ELEMENTS">元素</head>
73 187 sjacqu01
    <head xml:lang="zh-TW" corresp="REF-MACROS">資料類型與其他巨集指令</head>
74 187 sjacqu01
    <head xml:lang="zh-TW" corresp="USE">使用TEI</head>
75 187 sjacqu01
    <head xml:lang="zh-TW" corresp="SG">XML入門</head>
76 187 sjacqu01
    <head xml:lang="zh-TW" corresp="AB">關於</head>
77 187 sjacqu01
    <head xml:lang="it" corresp="USE">Come usare TEI</head>
78 187 sjacqu01
    <head xml:lang="it" corresp="SG">Una graduale introduzione a XML</head>
79 187 sjacqu01
    <head xml:lang="it" corresp="AB">Le presenti Linee Guida</head>
80 187 sjacqu01
    <head xml:lang="it" corresp="AI">Semplici meccanismi di analisi</head>
81 187 sjacqu01
    <head xml:lang="it" corresp="CE">Certezza e incertezza</head>
82 187 sjacqu01
    <head xml:lang="it" corresp="CO">Elementi comuni a tutti i documenti TEI</head>
83 187 sjacqu01
    <head xml:lang="it" corresp="CC">Corpus di testi</head>
84 187 sjacqu01
    <head xml:lang="it" corresp="DI">Dizionari a stampa</head>
85 187 sjacqu01
    <head xml:lang="it" corresp="DR">Testi per performance</head>
86 187 sjacqu01
    <head xml:lang="it" corresp="FT">Tabelle, formule e figure</head>
87 187 sjacqu01
    <head xml:lang="it" corresp="WD">Documentazione di caratteri non standard e glifi</head>
88 187 sjacqu01
    <head xml:lang="it" corresp="HD">L'intestazione TEI (TEI Header)</head>
89 187 sjacqu01
    <head xml:lang="it" corresp="FS">Strutture di configurazione (feature structures)</head>
90 187 sjacqu01
    <head xml:lang="it" corresp="SA">Collegamento, segmentazione e allineamento</head>
91 187 sjacqu01
    <head xml:lang="it" corresp="MS">Descrizione di manoscritti</head>
92 187 sjacqu01
    <head xml:lang="it" corresp="ND">Nomi e date</head>
93 187 sjacqu01
    <head xml:lang="it" corresp="GD">Grafici, reti e alberi</head>
94 187 sjacqu01
    <head xml:lang="it" corresp="TS">Trascrizione del parlato</head>
95 187 sjacqu01
    <head xml:lang="it" corresp="TD">Documentazione dei moduli TEI</head>
96 187 sjacqu01
    <head xml:lang="it" corresp="ST">Dichiarazione di classi, tipi di dati e macro
97 187 sjacqu01
</head>
98 187 sjacqu01
    <head xml:lang="it" corresp="TC">Apparato critico</head>
99 187 sjacqu01
    <head xml:lang="it" corresp="DS">Struttura standard del testo</head>
100 187 sjacqu01
    <head xml:lang="it" corresp="PH">Trascrizione di fonti primarie</head>
101 187 sjacqu01
    <head xml:lang="it" corresp="VE">Strutture poetiche</head>
102 187 sjacqu01
    <head xml:lang="it" corresp="COL">Colofone</head>
103 187 sjacqu01
    <head xml:lang="it" corresp="dedication">Dedica</head>
104 187 sjacqu01
    <head xml:lang="it" corresp="PREF">Prefazione e ringraziamenti</head>
105 187 sjacqu01
    <head xml:lang="it" corresp="PREFS">Note introduttive</head>
106 187 sjacqu01
    <head xml:lang="it" corresp="REF-CLASSES-ATTS">Classi di attributi</head>
107 187 sjacqu01
    <head xml:lang="it" corresp="REF-CLASSES-MODEL">Classi di modelli</head>
108 187 sjacqu01
    <head xml:lang="it" corresp="REF-ELEMENTS">Elementi</head>
109 187 sjacqu01
    <head xml:lang="it" corresp="REF-MACROS">Datatype e altre macro</head>
110 187 sjacqu01
    <head xml:lang="pt" corresp="AI">Mecanismos simples de análise</head>
111 187 sjacqu01
    <head xml:lang="pt" corresp="CE">Certeza e incerteza</head>
112 187 sjacqu01
    <head xml:lang="pt" corresp="CO">Elementos comuns a todos os documentos TEI</head>
113 187 sjacqu01
    <head xml:lang="pt" corresp="CC">Textos do corpora</head>
114 187 sjacqu01
    <head xml:lang="pt" corresp="DI">Dicionários impressos</head>
115 187 sjacqu01
    <head xml:lang="pt" corresp="DR">Textos de actuação</head>
116 187 sjacqu01
    <head xml:lang="pt" corresp="FT">Tabelas, fórmulas, e figuras</head>
117 187 sjacqu01
    <head xml:lang="pt" corresp="WD">Documentação dos carateres</head>
118 187 sjacqu01
    <head xml:lang="pt" corresp="HD">O cabeçalho TEI</head>
119 187 sjacqu01
    <head xml:lang="pt" corresp="FS">Estrutura das características</head>
120 187 sjacqu01
    <head xml:lang="pt" corresp="SA">Ligação, segmentação e alinhamento</head>
121 187 sjacqu01
    <head xml:lang="pt" corresp="MS">Descrição do manuscrito</head>
122 187 sjacqu01
    <head xml:lang="pt" corresp="ND">Nomes e datas</head>
123 187 sjacqu01
    <head xml:lang="pt" corresp="GD">Grafos, redes, e árvores</head>
124 187 sjacqu01
    <head xml:lang="pt" corresp="TS">Transcrição do discurso</head>
125 187 sjacqu01
    <head xml:lang="pt" corresp="TD">Documentação dos módulos TEI</head>
126 187 sjacqu01
    <head xml:lang="pt" corresp="ST">Declaraçoes de classes, tipos de dados, e macros disponíveis em todos os módulos  TEI </head>
127 187 sjacqu01
    <head xml:lang="pt" corresp="TC">Critical Apparatus</head>
128 187 sjacqu01
    <head xml:lang="pt" corresp="DS">Estrutura do texto por defeito</head>
129 187 sjacqu01
    <head xml:lang="pt" corresp="PH">Transcrição de fontes primárias</head>
130 187 sjacqu01
    <head xml:lang="pt" corresp="VE">Estrutura dos versos</head>
131 187 sjacqu01
    <head xml:lang="pt" corresp="COL">Colophon</head>
132 187 sjacqu01
    <head xml:lang="pt" corresp="dedication">Dedicação</head>
133 187 sjacqu01
    <head xml:lang="pt" corresp="PREF">Prefácio e agradecimentos</head>
134 187 sjacqu01
    <head xml:lang="pt" corresp="PREFS">Notas de prefácio</head>
135 187 sjacqu01
    <head xml:lang="pt" corresp="REF-CLASSES-ATTS">Classes dos atributos</head>
136 187 sjacqu01
    <head xml:lang="pt" corresp="REF-CLASSES-MODEL">Classes do modelo</head>
137 187 sjacqu01
    <head xml:lang="pt" corresp="REF-ELEMENTS">Elementos</head>
138 187 sjacqu01
    <head xml:lang="pt" corresp="REF-MACROS">Tipos de dados e outras macros</head>
139 187 sjacqu01
    <!-- keywords on the interface for Module -->
140 187 sjacqu01
    <head xml:lang="ja" corresp="AI">分析モジュール</head>
141 187 sjacqu01
    <head xml:lang="ja" corresp="CE">確信度モジュール</head>
142 187 sjacqu01
    <head xml:lang="ja" corresp="CO">コアモジュール</head>
143 187 sjacqu01
    <head xml:lang="ja" corresp="CC">コーパスモジュール</head>
144 187 sjacqu01
    <head xml:lang="ja" corresp="DI">辞書モジュール</head>
145 187 sjacqu01
    <head xml:lang="ja" corresp="DR">舞台芸術モジュール</head>
146 187 sjacqu01
    <head xml:lang="ja" corresp="FT">図表式モジュール</head>
147 187 sjacqu01
    <head xml:lang="ja" corresp="WD">外字モジュール</head>
148 187 sjacqu01
    <head xml:lang="ja" corresp="HD">ヘダーモジュール</head>
149 187 sjacqu01
    <head xml:lang="ja" corresp="FS">素性構造モジュール</head>
150 187 sjacqu01
    <head xml:lang="ja" corresp="SA">リンクモジュール</head>
151 187 sjacqu01
    <head xml:lang="ja" corresp="MS">手書きモジュール</head>
152 187 sjacqu01
    <head xml:lang="ja" corresp="ND">名前モジュール</head>
153 187 sjacqu01
    <head xml:lang="ja" corresp="GD">グラフモジュール</head>
154 187 sjacqu01
    <head xml:lang="ja" corresp="TS">発話モジュール</head>
155 187 sjacqu01
    <head xml:lang="ja" corresp="TD">タグ定義モジュール</head>
156 187 sjacqu01
    <head xml:lang="ja" corresp="TC">校勘モジュール</head>
157 187 sjacqu01
    <head xml:lang="ja" corresp="DS">テキスト構造モジュール</head>
158 187 sjacqu01
    <head xml:lang="ja" corresp="PH">転記モジュール</head>
159 187 sjacqu01
    <head xml:lang="ja" corresp="VE">韻文モジュール</head>
160 187 sjacqu01
    <!-- keywords on the interface for toc -->
161 187 sjacqu01
    <head xml:lang="ja" corresp="COL">コロフォン</head>
162 187 sjacqu01
    <head xml:lang="ja" corresp="dedication">献辞</head>
163 187 sjacqu01
    <head xml:lang="ja" corresp="PREF">序文と謝辞</head>
164 187 sjacqu01
    <head xml:lang="ja" corresp="PREFS">序文集</head>
165 187 sjacqu01
    <head xml:lang="ja" corresp="REF-CLASSES-ATTS">属性クラス</head>
166 187 sjacqu01
    <head xml:lang="ja" corresp="REF-CLASSES-MODEL">モデルクラス</head>
167 187 sjacqu01
    <head xml:lang="ja" corresp="REF-ELEMENTS">要素</head>
168 187 sjacqu01
    <!-- keywords on the interface for app.D -->
169 187 sjacqu01
    <head xml:lang="ja" corresp="REF-MACROS">データ型とマクロ</head>
170 187 sjacqu01
    <head xml:lang="ja" corresp="ST">TEIの基礎構造</head>
171 187 sjacqu01
    <head xml:lang="ja" corresp="AB">本ガイドラインについて</head>
172 187 sjacqu01
    <head xml:lang="ja" corresp="SG">XML入門</head>
173 187 sjacqu01
    <head xml:lang="ja" corresp="USE">TEIの使い方</head>
174 187 sjacqu01
    <head xml:lang="es" corresp="AI">Mecanismos analíticos simples</head>
175 187 sjacqu01
    <head xml:lang="es" corresp="CE">Certeza e incertidumbre</head>
176 187 sjacqu01
    <head xml:lang="es" corresp="CO">Elementos comunes a todos los documentos TEI</head>
177 187 sjacqu01
    <head xml:lang="es" corresp="CC">Textos de corpus</head>
178 187 sjacqu01
    <head xml:lang="es" corresp="DI">Diccionarios impresos</head>
179 187 sjacqu01
    <head xml:lang="es" corresp="DR">Textos teatrales</head>
180 187 sjacqu01
    <head xml:lang="es" corresp="FT">Tablas, fórmulas y figuras</head>
181 187 sjacqu01
    <head xml:lang="es" corresp="WD">Documentación de caracteres y glifos</head>
182 187 sjacqu01
    <head xml:lang="es" corresp="HD">La cabecera TEI</head>
183 187 sjacqu01
    <head xml:lang="es" corresp="FS">Estructuras de rasgos</head>
184 187 sjacqu01
    <head xml:lang="es" corresp="SA">Enlace, segmentación y alineación</head>
185 187 sjacqu01
    <head xml:lang="es" corresp="MS">Descripción de manuscritos</head>
186 187 sjacqu01
    <head xml:lang="es" corresp="ND">Nombres y fechas</head>
187 187 sjacqu01
    <head xml:lang="es" corresp="GD">Grafos, redes y árboles</head>
188 187 sjacqu01
    <head xml:lang="es" corresp="TS">Habla transcrita</head>
189 187 sjacqu01
    <head xml:lang="es" corresp="TD">Documentación de los módulos de TEI</head>
190 187 sjacqu01
    <head xml:lang="es" corresp="ST">Declaraciones de clases, tipos de datos y macros disponibles para todos los módulos TEI</head>
191 187 sjacqu01
    <head xml:lang="es" corresp="TC">Aparato crítico</head>
192 187 sjacqu01
    <head xml:lang="es" corresp="DS">Estructura textual por defecto</head>
193 187 sjacqu01
    <head xml:lang="es" corresp="PH">Transcripción de fuentes primarias</head>
194 187 sjacqu01
    <head xml:lang="es" corresp="VE">Estructuras de versos</head>
195 187 sjacqu01
    <head xml:lang="es" corresp="AB">Sobre estas directrices</head>
196 187 sjacqu01
    <head xml:lang="es" corresp="REF-CLASSES-ATTS">Clases de atributos</head>
197 187 sjacqu01
    <head xml:lang="es" corresp="REF-CLASSES-MODEL">Clases de modelos</head>
198 187 sjacqu01
    <head xml:lang="es" corresp="REF-ELEMENTS">Elementos</head>
199 187 sjacqu01
    <head xml:lang="es" corresp="SG">Una introducción suave a XML</head>
200 187 sjacqu01
    <head xml:lang="es" corresp="USE">Cómo usar TEI</head>
201 187 sjacqu01
    <!-- Catalan -->
202 187 sjacqu01
    <head xml:lang="ca" corresp="AI">Mecanismes analítics simples</head>
203 187 sjacqu01
    <head xml:lang="ca" corresp="CE">Certitud i incertitud</head>
204 187 sjacqu01
    <head xml:lang="ca" corresp="CO">Elements comuns a tots els documents TEI</head>
205 187 sjacqu01
    <head xml:lang="ca" corresp="CC">Textos de corpus</head>
206 187 sjacqu01
    <head xml:lang="ca" corresp="DI">Diccionaris impresos</head>
207 187 sjacqu01
    <head xml:lang="ca" corresp="DR">Textos teatrals</head>
208 187 sjacqu01
    <head xml:lang="ca" corresp="FT">Taules, fórmules i figures</head>
209 187 sjacqu01
    <head xml:lang="ca" corresp="WD">Documentació de caràcters i glifs</head>
210 187 sjacqu01
    <head xml:lang="ca" corresp="HD">L'encapçalament TEI</head>
211 187 sjacqu01
    <head xml:lang="ca" corresp="FS">Estructures de trets</head>
212 187 sjacqu01
    <head xml:lang="ca" corresp="SA">Enllaç, segmentació i alineació</head>
213 187 sjacqu01
    <head xml:lang="ca" corresp="MS">Descripció de manuscrits</head>
214 187 sjacqu01
    <head xml:lang="ca" corresp="ND">Noms i dates</head>
215 187 sjacqu01
    <head xml:lang="ca" corresp="GD">Grafs, xarxes i arbres</head>
216 187 sjacqu01
    <head xml:lang="ca" corresp="TS">Parla transcrita</head>
217 187 sjacqu01
    <head xml:lang="ca" corresp="TD">Documentació dels mòduls de TEI</head>
218 187 sjacqu01
    <head xml:lang="ca" corresp="ST">Declaracions de classes, tipus de dades i macros disponibles per a tots els mòduls TEI</head>
219 187 sjacqu01
    <head xml:lang="ca" corresp="TC">Aparat crític</head>
220 187 sjacqu01
    <head xml:lang="ca" corresp="DS">Estructura textual per defecte</head>
221 187 sjacqu01
    <head xml:lang="ca" corresp="PH">Transcripció de fonts primàries</head>
222 187 sjacqu01
    <head xml:lang="ca" corresp="VE">Estructures de versos</head>
223 187 sjacqu01
    <head xml:lang="ca" corresp="AB">Sobre aquestes directrius</head>
224 187 sjacqu01
    <head xml:lang="ca" corresp="REF-CLASSES-ATTS">Classes d'atributs</head>
225 187 sjacqu01
    <head xml:lang="ca" corresp="REF-CLASSES-MODEL">Classes de models</head>
226 187 sjacqu01
    <head xml:lang="ca" corresp="REF-ELEMENTS">Elements</head>
227 187 sjacqu01
    <head xml:lang="ca" corresp="SG">Una introducció suau a XML</head>
228 187 sjacqu01
    <head xml:lang="ca" corresp="USE">Com usar TEI</head>
229 187 sjacqu01
    <!-- German -->
230 187 sjacqu01
    <head xml:lang="de" corresp="AI">Einfache Analyse-Mechanismen</head>
231 187 sjacqu01
    <head xml:lang="de" corresp="CE">Zuverlässigkeit und Unsicherheit</head>
232 187 sjacqu01
    <head xml:lang="de" corresp="CO">Elemente, verfügbar in allen TEI-Dokumenten</head>
233 187 sjacqu01
    <head xml:lang="de" corresp="CC">Korpustexte</head>
234 187 sjacqu01
    <head xml:lang="de" corresp="DI">Gedruckte Wörterbücher</head>
235 187 sjacqu01
    <head xml:lang="de" corresp="DR">Zur Aufführung bestimmte Texte</head>
236 187 sjacqu01
    <head xml:lang="de" corresp="FT">Tabellen, Formeln und Abbildungen</head>
237 187 sjacqu01
    <head xml:lang="de" corresp="WD">Dokumentation von Zeichen und Glyphen</head>
238 187 sjacqu01
    <head xml:lang="de" corresp="HD">Der TEI-Header</head>
239 187 sjacqu01
    <head xml:lang="de" corresp="FS">Merkmalsstrukturen</head>
240 187 sjacqu01
    <head xml:lang="de" corresp="SA">Verlinken, Segmentieren und Parallelisieren</head>
241 187 sjacqu01
    <head xml:lang="de" corresp="MS">Handschriftenbeschreibung</head>
242 187 sjacqu01
    <head xml:lang="de" corresp="ND">Namen und Datumsangaben</head>
243 187 sjacqu01
    <head xml:lang="de" corresp="GD">Graphen, Netze und Bäume</head>
244 187 sjacqu01
    <head xml:lang="de" corresp="TS">Transkription gesprochener Sprache</head>
245 187 sjacqu01
    <head xml:lang="de" corresp="TD">Dokumentation zu den TEI-Modulen</head>
246 187 sjacqu01
    <head xml:lang="de" corresp="ST">Deklaration zu Klassen, Datentypen und Makros, verfügbar in allen TEI-Modulen</head>
247 187 sjacqu01
    <head xml:lang="de" corresp="TC">Kritische Apparate</head>
248 187 sjacqu01
    <head xml:lang="de" corresp="DS">Standard-Textstruktur</head>
249 187 sjacqu01
    <head xml:lang="de" corresp="PH">Transkription von Primärquellen</head>
250 187 sjacqu01
    <head xml:lang="de" corresp="VE">Vers-Strukturen</head>
251 187 sjacqu01
    <head xml:lang="kr" corresp="AI">단순 분석 기제</head>
252 187 sjacqu01
    <head xml:lang="kr" corresp="CE">확실성과 불확실성</head>
253 187 sjacqu01
    <head xml:lang="kr" corresp="CO">모든 TEI 문서에 공통된 요소들</head>
254 187 sjacqu01
    <head xml:lang="kr" corresp="CC">코퍼스 텍스트</head>
255 187 sjacqu01
    <head xml:lang="kr" corresp="DI">인쇄 사전</head>
256 187 sjacqu01
    <head xml:lang="kr" corresp="DR">공연 텍스트</head>
257 187 sjacqu01
    <head xml:lang="kr" corresp="FT">표, 식, 그림</head>
258 187 sjacqu01
    <head xml:lang="kr" corresp="WD">문자와 그림문자 문서</head>
259 187 sjacqu01
    <head xml:lang="kr" corresp="HD">TEI 헤더</head>
260 187 sjacqu01
    <head xml:lang="kr" corresp="FS">자질 구조</head>
261 187 sjacqu01
    <head xml:lang="kr" corresp="SA">연결, 분할, 정렬</head>
262 187 sjacqu01
    <head xml:lang="kr" corresp="MS">필사본 기술</head>
263 187 sjacqu01
    <head xml:lang="kr" corresp="ND">이름과 날짜</head>
264 187 sjacqu01
    <head xml:lang="kr" corresp="GD">그래프, 망, 수형도</head>
265 187 sjacqu01
    <head xml:lang="kr" corresp="TS">전사된 대화(말)</head>
266 187 sjacqu01
    <head xml:lang="kr" corresp="TD">TEI 모듈 문서</head>
267 187 sjacqu01
    <head xml:lang="kr" corresp="ST">모든 TEI 모듈에 사용되는 부류, 자료유형, 마크로를 위한 선언</head>
268 187 sjacqu01
    <head xml:lang="kr" corresp="TC">비평적 주석</head>
269 187 sjacqu01
    <head xml:lang="kr" corresp="DS">기본값 텍스트 구조</head>
270 187 sjacqu01
    <head xml:lang="kr" corresp="PH">일차 원전 전사</head>
271 187 sjacqu01
    <head xml:lang="kr" corresp="VE">운문 구조</head>
272 187 sjacqu01
    <head xml:lang="kr" corresp="COL">판권 면</head>
273 187 sjacqu01
    <head xml:lang="kr" corresp="dedication">헌정</head>
274 187 sjacqu01
    <head xml:lang="kr" corresp="PREF">서문과 사사 </head>
275 187 sjacqu01
    <head xml:lang="kr" corresp="PREFS">서문</head>
276 187 sjacqu01
    <head xml:lang="kr" corresp="REF-CLASSES-ATTS">속성 부류</head>
277 187 sjacqu01
    <head xml:lang="kr" corresp="REF-CLASSES-MODEL">모형 부류</head>
278 187 sjacqu01
    <head xml:lang="kr" corresp="REF-ELEMENTS">요소</head>
279 187 sjacqu01
    <head xml:lang="kr" corresp="REF-MACROS">자료유형과 다른 마크로</head>
280 187 sjacqu01
  </heads>
281 187 sjacqu01
  <xsl:template name="processTEIHook">
282 187 sjacqu01
    <xsl:for-each select="key('ELEMENTDOCS',1)">
283 187 sjacqu01
      <xsl:variable name="me" select="@ident"/>
284 187 sjacqu01
      <xsl:variable name="documentationLanguage">
285 187 sjacqu01
        <xsl:call-template name="generateDoc"/>
286 187 sjacqu01
      </xsl:variable>
287 187 sjacqu01
      <xsl:variable name="langs">
288 187 sjacqu01
        <xsl:value-of select="concat(normalize-space($documentationLanguage),' ')"/>
289 187 sjacqu01
      </xsl:variable>
290 187 sjacqu01
      <xsl:result-document doctype-public="{$doctypePublic}" doctype-system="{$doctypeSystem}" encoding="{$outputEncoding}" href="{$outputDir}/examples-{$me}.html" method="{$outputMethod}">
291 187 sjacqu01
        <html>
292 187 sjacqu01
          <xsl:comment>THIS IS A GENERATED FILE. DO NOT EDIT (10) </xsl:comment>
293 187 sjacqu01
          <head>
294 187 sjacqu01
            <title>
295 187 sjacqu01
              <xsl:call-template name="i18n">
296 187 sjacqu01
                <xsl:with-param name="word">Example</xsl:with-param>
297 187 sjacqu01
              </xsl:call-template>
298 187 sjacqu01
              <xsl:text>: &lt;</xsl:text>
299 187 sjacqu01
              <xsl:value-of select="$me"/>
300 187 sjacqu01
              <xsl:text>&gt; </xsl:text>
301 187 sjacqu01
              <xsl:call-template name="makeGloss">
302 187 sjacqu01
                <xsl:with-param name="langs" select="$langs"/>
303 187 sjacqu01
              </xsl:call-template>
304 187 sjacqu01
            </title>
305 187 sjacqu01
            <xsl:call-template name="includeCSS"/>
306 187 sjacqu01
            <meta content="Text Encoding Initiative Consortium XSLT stylesheets" name="generator"/>
307 187 sjacqu01
            <meta name="DC.Title">
308 187 sjacqu01
              <xsl:attribute name="content">
309 187 sjacqu01
                <xsl:call-template name="i18n">
310 187 sjacqu01
                  <xsl:with-param name="word">Example</xsl:with-param>
311 187 sjacqu01
                </xsl:call-template>
312 187 sjacqu01
                <xsl:text>: </xsl:text>
313 187 sjacqu01
                <xsl:value-of select="$me"/>
314 187 sjacqu01
                <xsl:text> </xsl:text>
315 187 sjacqu01
                <xsl:call-template name="makeGloss">
316 187 sjacqu01
                  <xsl:with-param name="langs" select="$langs"/>
317 187 sjacqu01
                </xsl:call-template>
318 187 sjacqu01
              </xsl:attribute>
319 187 sjacqu01
            </meta>
320 187 sjacqu01
            <meta content="application/xhtml+xml; charset=utf-8" http-equiv="Content-Type"/>
321 187 sjacqu01
            <xsl:call-template name="includeJavascript"/>
322 187 sjacqu01
            <xsl:call-template name="javascriptHook"/>
323 187 sjacqu01
          </head>
324 187 sjacqu01
          <body id="TOP">
325 187 sjacqu01
            <xsl:call-template name="guidelinesTop">
326 187 sjacqu01
              <xsl:with-param name="name">
327 187 sjacqu01
                <xsl:call-template name="i18n">
328 187 sjacqu01
                  <xsl:with-param name="word">Example</xsl:with-param>
329 187 sjacqu01
                </xsl:call-template>
330 187 sjacqu01
                <xsl:text>: &lt;</xsl:text>
331 187 sjacqu01
                <xsl:value-of select="$me"/>
332 187 sjacqu01
                <xsl:text>&gt; </xsl:text>
333 187 sjacqu01
                <xsl:call-template name="makeGloss">
334 187 sjacqu01
                  <xsl:with-param name="langs" select="$langs"/>
335 187 sjacqu01
                </xsl:call-template>
336 187 sjacqu01
              </xsl:with-param>
337 187 sjacqu01
            </xsl:call-template>
338 187 sjacqu01
            <div class="main-content">
339 187 sjacqu01
              <xsl:call-template name="startDivHook"/>
340 187 sjacqu01
              <h3>
341 187 sjacqu01
                <xsl:call-template name="i18n">
342 187 sjacqu01
                  <xsl:with-param name="word">Example</xsl:with-param>
343 187 sjacqu01
                </xsl:call-template>
344 187 sjacqu01
                <xsl:text>: &lt;</xsl:text>
345 187 sjacqu01
                <xsl:value-of select="$me"/>
346 187 sjacqu01
                <xsl:text>&gt; </xsl:text>
347 187 sjacqu01
                <xsl:call-template name="makeGloss">
348 187 sjacqu01
                  <xsl:with-param name="langs" select="$langs"/>
349 187 sjacqu01
                </xsl:call-template>
350 187 sjacqu01
              </h3>
351 187 sjacqu01
              <p>These search results reproduce every example of the
352 187 sjacqu01
	      use of <xsl:text>&lt;</xsl:text>
353 187 sjacqu01
	      <xsl:value-of select="$me"/>
354 187 sjacqu01
	      <xsl:text>&gt;</xsl:text> in the Guidelines, including all localised
355 187 sjacqu01
	      and translated versions. In some cases, the examples have been drawn
356 187 sjacqu01
	      from discussion of other elements in the Guidelines and illustrating
357 187 sjacqu01
	      the use of <xsl:text>&lt;</xsl:text>
358 187 sjacqu01
	      <xsl:value-of select="$me"/>
359 187 sjacqu01
	      <xsl:text>&gt;</xsl:text>
360 187 sjacqu01
	      is not the main
361 187 sjacqu01
	      focus of the passage in question. In other cases, examples may be direct
362 187 sjacqu01
	      translations of each other, and hence identical from the perspective of
363 187 sjacqu01
	      their encoding.</p>
364 187 sjacqu01
              <xsl:variable name="items">
365 187 sjacqu01
                <xsl:for-each select="/tei:TEI/tei:text/tei:body/tei:div">
366 187 sjacqu01
                  <xsl:if test="count(key('EXAMPLES',concat(@xml:id,$me)))&gt;0">
367 187 sjacqu01
                    <li>
368 187 sjacqu01
                      <a href="#{@xml:id}">
369 187 sjacqu01
                        <xsl:call-template name="header"/>
370 187 sjacqu01
                      </a>
371 187 sjacqu01
                    </li>
372 187 sjacqu01
                  </xsl:if>
373 187 sjacqu01
                </xsl:for-each>
374 187 sjacqu01
              </xsl:variable>
375 187 sjacqu01
              <xsl:if test="count($items/html:li)&gt;0">
376 187 sjacqu01
                <ul>
377 187 sjacqu01
                  <xsl:copy-of select="$items/html:li"/>
378 187 sjacqu01
                </ul>
379 187 sjacqu01
              </xsl:if>
380 187 sjacqu01
              <xsl:for-each select="/tei:TEI/tei:text/tei:body/tei:div">
381 187 sjacqu01
                <xsl:if test="count(key('EXAMPLES',concat(@xml:id,$me)))&gt;0">
382 187 sjacqu01
                  <h4 id="{@xml:id}">
383 187 sjacqu01
                    <xsl:call-template name="header"/>
384 187 sjacqu01
                  </h4>
385 187 sjacqu01
                  <xsl:for-each select="key('EXAMPLES',concat(@xml:id,$me))">
386 187 sjacqu01
                    <xsl:variable name="pos">
387 187 sjacqu01
                      <xsl:number level="any" from="teix:egXML"/>
388 187 sjacqu01
                    </xsl:variable>
389 187 sjacqu01
                    <xsl:if test="number($pos)=1 or ($me='egXML' and         number($pos)=2)">
390 187 sjacqu01
                      <hr/>
391 187 sjacqu01
                      <p>
392 187 sjacqu01
                        <xsl:choose>
393 187 sjacqu01
                          <xsl:when test="ancestor::tei:elementSpec">
394 187 sjacqu01
                            <a href="ref-{ancestor::tei:elementSpec/@ident}.html">
395 187 sjacqu01
                              <xsl:text>&lt;</xsl:text>
396 187 sjacqu01
                              <xsl:value-of select="ancestor::tei:elementSpec/@ident"/>
397 187 sjacqu01
                              <xsl:text>&gt;</xsl:text>
398 187 sjacqu01
                            </a>
399 187 sjacqu01
                          </xsl:when>
400 187 sjacqu01
                          <xsl:when test="ancestor::tei:classSpec">
401 187 sjacqu01
                            <a href="ref-{ancestor::tei:classSpec/@ident}.html">
402 187 sjacqu01
                              <xsl:value-of select="ancestor::tei:classSpec/@ident"/>
403 187 sjacqu01
                            </a>
404 187 sjacqu01
                          </xsl:when>
405 187 sjacqu01
                          <xsl:otherwise>
406 187 sjacqu01
                            <xsl:for-each select="ancestor::tei:div[@xml:id and tei:head][1]">
407 187 sjacqu01
                              <a>
408 187 sjacqu01
                                <xsl:attribute name="href">
409 187 sjacqu01
                                  <xsl:apply-templates select="." mode="generateLink"/>
410 187 sjacqu01
                                </xsl:attribute>
411 187 sjacqu01
                                <xsl:call-template name="header"/>
412 187 sjacqu01
                              </a>
413 187 sjacqu01
                            </xsl:for-each>
414 187 sjacqu01
                          </xsl:otherwise>
415 187 sjacqu01
                        </xsl:choose>
416 187 sjacqu01
                      </p>
417 187 sjacqu01
                      <xsl:apply-templates select="ancestor::teix:egXML">
418 187 sjacqu01
                        <xsl:with-param name="simple">true</xsl:with-param>
419 187 sjacqu01
                        <xsl:with-param name="highlight">
420 187 sjacqu01
                          <xsl:value-of select="$me"/>
421 187 sjacqu01
                        </xsl:with-param>
422 187 sjacqu01
                      </xsl:apply-templates>
423 187 sjacqu01
                    </xsl:if>
424 187 sjacqu01
                  </xsl:for-each>
425 187 sjacqu01
                </xsl:if>
426 187 sjacqu01
              </xsl:for-each>
427 187 sjacqu01
            </div>
428 187 sjacqu01
            <xsl:call-template name="stdfooter">
429 187 sjacqu01
              <xsl:with-param name="file">
430 187 sjacqu01
                <xsl:text>examples-</xsl:text>
431 187 sjacqu01
                <xsl:value-of select="$me"/>
432 187 sjacqu01
              </xsl:with-param>
433 187 sjacqu01
            </xsl:call-template>
434 187 sjacqu01
          </body>
435 187 sjacqu01
        </html>
436 187 sjacqu01
      </xsl:result-document>
437 187 sjacqu01
    </xsl:for-each>
438 187 sjacqu01
  </xsl:template>
439 187 sjacqu01
  <xsl:template name="metaHTML">
440 187 sjacqu01
    <xsl:param name="title"/>
441 187 sjacqu01
    <meta name="Language" content="{$documentationLanguage}"/>
442 187 sjacqu01
    <meta name="DC.Title" content="{$title}"/>
443 187 sjacqu01
    <meta name="DC.Language" content="(SCHEME=iso639) {$documentationLanguage}"/>
444 187 sjacqu01
    <meta name="DC.Creator" content="TEI, Oxford University Computing Services, 13 Banbury Road, Oxford OX2 6NN, United Kingdom"/>
445 187 sjacqu01
    <meta name="DC.Creator.Address" content="tei@oucs.ox.ac.uk"/>
446 187 sjacqu01
    <meta content="application/xhtml+xml; charset=utf-8" http-equiv="Content-Type"/>
447 187 sjacqu01
  </xsl:template>
448 187 sjacqu01
  <xsl:template name="startDivHook">
449 187 sjacqu01
      <xsl:if test="($outputTarget='epub' or $outputTarget='epub3') and not(parent::tei:div)">
450 187 sjacqu01
        <h2>
451 187 sjacqu01
          <xsl:call-template name="header"/>
452 187 sjacqu01
        </h2>
453 187 sjacqu01
      </xsl:if>
454 187 sjacqu01
    <xsl:if test="not(parent::tei:div) or not(local-name(preceding::*[1])='head')">
455 187 sjacqu01
      <div>
456 187 sjacqu01
        <xsl:if test="$outputTarget='epub' or $outputTarget='epub3'">
457 187 sjacqu01
          <xsl:attribute name="style">
458 187 sjacqu01
            <xsl:text>margin-top: 0em;</xsl:text>
459 187 sjacqu01
          </xsl:attribute>
460 187 sjacqu01
        </xsl:if>
461 187 sjacqu01
        <xsl:choose>
462 187 sjacqu01
          <xsl:when test="not(parent::tei:div) and child::tei:div">
463 187 sjacqu01
            <xsl:attribute name="class">
464 187 sjacqu01
              <xsl:text>miniTOC miniTOC_left</xsl:text>
465 187 sjacqu01
            </xsl:attribute>
466 187 sjacqu01
            <xsl:call-template name="subtoc"/>
467 187 sjacqu01
          </xsl:when>
468 187 sjacqu01
          <xsl:otherwise>
469 187 sjacqu01
            <xsl:attribute name="class">
470 187 sjacqu01
              <xsl:text>miniTOC miniTOC_right</xsl:text>
471 187 sjacqu01
            </xsl:attribute>
472 187 sjacqu01
          </xsl:otherwise>
473 187 sjacqu01
        </xsl:choose>
474 187 sjacqu01
        <ul class="subtoc">
475 187 sjacqu01
          <li class="subtoc">
476 187 sjacqu01
            <xsl:call-template name="previousLink"/>
477 187 sjacqu01
          </li>
478 187 sjacqu01
          <li class="subtoc">
479 187 sjacqu01
            <xsl:call-template name="nextLink"/>
480 187 sjacqu01
          </li>
481 187 sjacqu01
          <li class="subtoc">
482 187 sjacqu01
            <a class="navigation" href="index.html">
483 187 sjacqu01
              <xsl:call-template name="i18n">
484 187 sjacqu01
                <xsl:with-param name="word">homeWord</xsl:with-param>
485 187 sjacqu01
              </xsl:call-template>
486 187 sjacqu01
            </a>
487 187 sjacqu01
            <xsl:text> | </xsl:text>
488 187 sjacqu01
            <a class="navigation" href="index-toc.html">
489 187 sjacqu01
              <xsl:call-template name="i18n">
490 187 sjacqu01
                <xsl:with-param name="word">tocWords</xsl:with-param>
491 187 sjacqu01
              </xsl:call-template>
492 187 sjacqu01
            </a>
493 187 sjacqu01
          </li>
494 187 sjacqu01
          <li class="subtoc">
495 187 sjacqu01
            <xsl:choose>
496 187 sjacqu01
              <xsl:when test="self::tei:elementSpec">
497 187 sjacqu01
                <a class="navigation" href="REF-ELEMENTS.html">
498 187 sjacqu01
                  <xsl:call-template name="showHead">
499 187 sjacqu01
                    <xsl:with-param name="ID">
500 187 sjacqu01
                      <xsl:text>REF-ELEMENTS</xsl:text>
501 187 sjacqu01
                    </xsl:with-param>
502 187 sjacqu01
                  </xsl:call-template>
503 187 sjacqu01
                </a>
504 187 sjacqu01
              </xsl:when>
505 187 sjacqu01
              <xsl:when test="self::tei:classSpec[@type='model']">
506 187 sjacqu01
                <a class="navigation" href="REF-CLASSES-MODEL.html">
507 187 sjacqu01
                  <xsl:call-template name="showHead">
508 187 sjacqu01
                    <xsl:with-param name="ID">
509 187 sjacqu01
                      <xsl:text>REF-CLASSES-MODEL</xsl:text>
510 187 sjacqu01
                    </xsl:with-param>
511 187 sjacqu01
                  </xsl:call-template>
512 187 sjacqu01
                </a>
513 187 sjacqu01
              </xsl:when>
514 187 sjacqu01
              <xsl:when test="self::tei:classSpec[@type='atts']">
515 187 sjacqu01
                <a class="navigation" href="REF-CLASSES-ATTS.html">
516 187 sjacqu01
                  <xsl:call-template name="showHead">
517 187 sjacqu01
                    <xsl:with-param name="ID">
518 187 sjacqu01
                      <xsl:text>REF-CLASSES-ATTS</xsl:text>
519 187 sjacqu01
                    </xsl:with-param>
520 187 sjacqu01
                  </xsl:call-template>
521 187 sjacqu01
                </a>
522 187 sjacqu01
              </xsl:when>
523 187 sjacqu01
              <xsl:when test="self::tei:macroSpec">
524 187 sjacqu01
                <a class="navigation" href="REF-MACROS.html">
525 187 sjacqu01
                  <xsl:call-template name="showHead">
526 187 sjacqu01
                    <xsl:with-param name="ID">
527 187 sjacqu01
                      <xsl:text>REF-MACROS</xsl:text>
528 187 sjacqu01
                    </xsl:with-param>
529 187 sjacqu01
                  </xsl:call-template>
530 187 sjacqu01
                </a>
531 187 sjacqu01
              </xsl:when>
532 187 sjacqu01
            </xsl:choose>
533 187 sjacqu01
          </li>
534 187 sjacqu01
        </ul>
535 187 sjacqu01
      </div>
536 187 sjacqu01
    </xsl:if>
537 187 sjacqu01
  </xsl:template>
538 187 sjacqu01
  <xsl:template name="mainPage">
539 187 sjacqu01
    <xsl:param name="currentID"/>
540 187 sjacqu01
    <xsl:call-template name="guidelinesTop"/>
541 187 sjacqu01
    <div id="onecol" class="main-content">
542 187 sjacqu01
      <xsl:call-template name="mainFrame">
543 187 sjacqu01
        <xsl:with-param name="currentID" select="$currentID"/>
544 187 sjacqu01
        <xsl:with-param name="minimal">true</xsl:with-param>
545 187 sjacqu01
      </xsl:call-template>
546 187 sjacqu01
      <xsl:if test="$currentID=''">
547 187 sjacqu01
        <div style="float:left; margin:4%;">
548 187 sjacqu01
          <h3>
549 187 sjacqu01
            <xsl:call-template name="i18n">
550 187 sjacqu01
              <xsl:with-param name="word">Versions of the Guidelines</xsl:with-param>
551 187 sjacqu01
            </xsl:call-template>
552 187 sjacqu01
          </h3>
553 187 sjacqu01
          <ul>
554 187 sjacqu01
            <li>
555 187 sjacqu01
              <a href="index-toc.html">
556 187 sjacqu01
                <xsl:call-template name="i18n">
557 187 sjacqu01
                  <xsl:with-param name="word">tocWords</xsl:with-param>
558 187 sjacqu01
                </xsl:call-template>
559 187 sjacqu01
              </a>
560 187 sjacqu01
            </li>
561 187 sjacqu01
            <xsl:if test="$outputTarget='html'">
562 187 sjacqu01
              <li>
563 187 sjacqu01
                <a href="../../en/Guidelines.pdf">PDF</a>
564 187 sjacqu01
              </li>
565 187 sjacqu01
            </xsl:if>
566 187 sjacqu01
            <li>
567 187 sjacqu01
              <a href="http://www.tei-c.org/Council/tcw06.xml">
568 187 sjacqu01
                <xsl:call-template name="i18n">
569 187 sjacqu01
                  <xsl:with-param name="word">Getting the most recent version</xsl:with-param>
570 187 sjacqu01
                </xsl:call-template>
571 187 sjacqu01
              </a>
572 187 sjacqu01
            </li>
573 187 sjacqu01
            <li>
574 187 sjacqu01
              <a href="http://tei.svn.sourceforge.net/viewvc/tei/">
575 187 sjacqu01
                <xsl:call-template name="i18n">
576 187 sjacqu01
                  <xsl:with-param name="word">Sourceforge Subversion Repository</xsl:with-param>
577 187 sjacqu01
                </xsl:call-template>
578 187 sjacqu01
              </a>
579 187 sjacqu01
            </li>
580 187 sjacqu01
            <li>
581 187 sjacqu01
              <a href="http://sourceforge.net/tracker/?group_id=106328&amp;func=browse">
582 187 sjacqu01
                <xsl:call-template name="i18n">
583 187 sjacqu01
                  <xsl:with-param name="word">BugsFeatures</xsl:with-param>
584 187 sjacqu01
                </xsl:call-template>
585 187 sjacqu01
              </a>
586 187 sjacqu01
            </li>
587 187 sjacqu01
          </ul>
588 187 sjacqu01
        </div>
589 187 sjacqu01
        <div style="float:left; margin:4%;">
590 187 sjacqu01
          <h3>
591 187 sjacqu01
            <xsl:call-template name="i18n">
592 187 sjacqu01
              <xsl:with-param name="word">Some Popular Sections</xsl:with-param>
593 187 sjacqu01
            </xsl:call-template>
594 187 sjacqu01
          </h3>
595 187 sjacqu01
          <ul>
596 187 sjacqu01
            <li>
597 187 sjacqu01
              <a href="AB.html">
598 187 sjacqu01
                <xsl:call-template name="showHead">
599 187 sjacqu01
                  <xsl:with-param name="ID">
600 187 sjacqu01
                    <xsl:text>AB</xsl:text>
601 187 sjacqu01
                  </xsl:with-param>
602 187 sjacqu01
                </xsl:call-template>
603 187 sjacqu01
              </a>
604 187 sjacqu01
            </li>
605 187 sjacqu01
            <li>
606 187 sjacqu01
              <a href="SG.html">
607 187 sjacqu01
                <xsl:call-template name="showHead">
608 187 sjacqu01
                  <xsl:with-param name="ID">
609 187 sjacqu01
                    <xsl:text>SG</xsl:text>
610 187 sjacqu01
                  </xsl:with-param>
611 187 sjacqu01
                </xsl:call-template>
612 187 sjacqu01
              </a>
613 187 sjacqu01
            </li>
614 187 sjacqu01
            <li>
615 187 sjacqu01
              <a href="ST.html">
616 187 sjacqu01
                <xsl:call-template name="showHead">
617 187 sjacqu01
                  <xsl:with-param name="ID">
618 187 sjacqu01
                    <xsl:text>ST</xsl:text>
619 187 sjacqu01
                  </xsl:with-param>
620 187 sjacqu01
                </xsl:call-template>
621 187 sjacqu01
              </a>
622 187 sjacqu01
            </li>
623 187 sjacqu01
            <li>
624 187 sjacqu01
              <a href="HD.html">
625 187 sjacqu01
                <xsl:call-template name="showHead">
626 187 sjacqu01
                  <xsl:with-param name="ID">
627 187 sjacqu01
                    <xsl:text>HD</xsl:text>
628 187 sjacqu01
                  </xsl:with-param>
629 187 sjacqu01
                </xsl:call-template>
630 187 sjacqu01
              </a>
631 187 sjacqu01
            </li>
632 187 sjacqu01
            <li>
633 187 sjacqu01
              <a href="CO.html">
634 187 sjacqu01
                <xsl:call-template name="showHead">
635 187 sjacqu01
                  <xsl:with-param name="ID">
636 187 sjacqu01
                    <xsl:text>CO</xsl:text>
637 187 sjacqu01
                  </xsl:with-param>
638 187 sjacqu01
                </xsl:call-template>
639 187 sjacqu01
              </a>
640 187 sjacqu01
            </li>
641 187 sjacqu01
            <li>
642 187 sjacqu01
              <a href="USE.html">
643 187 sjacqu01
                <xsl:call-template name="showHead">
644 187 sjacqu01
                  <xsl:with-param name="ID">
645 187 sjacqu01
                    <xsl:text>USE</xsl:text>
646 187 sjacqu01
                  </xsl:with-param>
647 187 sjacqu01
                </xsl:call-template>
648 187 sjacqu01
              </a>
649 187 sjacqu01
            </li>
650 187 sjacqu01
            <li>
651 187 sjacqu01
              <a href="REF-CLASSES-MODEL.html">
652 187 sjacqu01
                <xsl:call-template name="showHead">
653 187 sjacqu01
                  <xsl:with-param name="ID">
654 187 sjacqu01
                    <xsl:text>REF-CLASSES-MODEL</xsl:text>
655 187 sjacqu01
                  </xsl:with-param>
656 187 sjacqu01
                </xsl:call-template>
657 187 sjacqu01
              </a>
658 187 sjacqu01
            </li>
659 187 sjacqu01
            <li>
660 187 sjacqu01
              <a href="REF-CLASSES-ATTS.html">
661 187 sjacqu01
                <xsl:call-template name="showHead">
662 187 sjacqu01
                  <xsl:with-param name="ID">
663 187 sjacqu01
                    <xsl:text>REF-CLASSES-ATTS</xsl:text>
664 187 sjacqu01
                  </xsl:with-param>
665 187 sjacqu01
                </xsl:call-template>
666 187 sjacqu01
              </a>
667 187 sjacqu01
            </li>
668 187 sjacqu01
            <li>
669 187 sjacqu01
              <a href="REF-ELEMENTS.html">
670 187 sjacqu01
                <xsl:call-template name="showHead">
671 187 sjacqu01
                  <xsl:with-param name="ID">
672 187 sjacqu01
                    <xsl:text>REF-ELEMENTS</xsl:text>
673 187 sjacqu01
                  </xsl:with-param>
674 187 sjacqu01
                </xsl:call-template>
675 187 sjacqu01
              </a>
676 187 sjacqu01
            </li>
677 187 sjacqu01
          </ul>
678 187 sjacqu01
        </div>
679 187 sjacqu01
        <xsl:variable name="name">TEI Guidelines TOC </xsl:variable>
680 187 sjacqu01
        <xsl:variable name="outName">
681 187 sjacqu01
          <xsl:call-template name="outputChunkName">
682 187 sjacqu01
            <xsl:with-param name="ident">
683 187 sjacqu01
              <xsl:text>index-toc</xsl:text>
684 187 sjacqu01
            </xsl:with-param>
685 187 sjacqu01
          </xsl:call-template>
686 187 sjacqu01
        </xsl:variable>
687 187 sjacqu01
        <xsl:if test="$verbose='true'">
688 187 sjacqu01
          <xsl:message>Opening file <xsl:value-of select="$outName"/></xsl:message>
689 187 sjacqu01
        </xsl:if>
690 187 sjacqu01
        <xsl:result-document
691 187 sjacqu01
	    doctype-public="{$doctypePublic}"
692 187 sjacqu01
	    omit-xml-declaration="yes"
693 187 sjacqu01
	    doctype-system="{$doctypeSystem}"
694 187 sjacqu01
	    encoding="{$outputEncoding}"
695 187 sjacqu01
	    href="{$outName}"
696 187 sjacqu01
	    method="{$outputMethod}">
697 187 sjacqu01
          <html>
698 187 sjacqu01
            <xsl:comment>THIS IS A GENERATED FILE. DO NOT EDIT (8) </xsl:comment>
699 187 sjacqu01
            <head>
700 187 sjacqu01
              <title>
701 187 sjacqu01
                <xsl:value-of select="$name"/>
702 187 sjacqu01
              </title>
703 187 sjacqu01
              <xsl:call-template name="includeCSS"/>
704 187 sjacqu01
              <meta content="Text Encoding Initiative Consortium XSLT stylesheets" name="generator"/>
705 187 sjacqu01
              <meta content="{$name}" name="DC.Title"/>
706 187 sjacqu01
              <meta content="application/xhtml+xml; charset=utf-8" http-equiv="Content-Type"/>
707 187 sjacqu01
              <xsl:call-template name="includeJavascript"/>
708 187 sjacqu01
              <xsl:call-template name="javascriptHook"/>
709 187 sjacqu01
            </head>
710 187 sjacqu01
            <body id="TOP">
711 187 sjacqu01
              <xsl:call-template name="bodyHook"/>
712 187 sjacqu01
              <xsl:call-template name="guidelinesTop"/>
713 187 sjacqu01
              <div id="onecol" class="main-content">
714 187 sjacqu01
                <xsl:call-template name="mainTOC"/>
715 187 sjacqu01
              </div>
716 187 sjacqu01
              <xsl:call-template name="stdfooter"/>
717 187 sjacqu01
            </body>
718 187 sjacqu01
          </html>
719 187 sjacqu01
        </xsl:result-document>
720 187 sjacqu01
        <xsl:if test="$verbose='true'">
721 187 sjacqu01
          <xsl:message>Closing file <xsl:value-of select="$outName"/></xsl:message>
722 187 sjacqu01
        </xsl:if>
723 187 sjacqu01
      </xsl:if>
724 187 sjacqu01
    </div>
725 187 sjacqu01
  </xsl:template>
726 187 sjacqu01
  <xsl:template name="showHead">
727 187 sjacqu01
    <xsl:param name="ID"/>
728 187 sjacqu01
    <xsl:variable name="Here" select="/"/>
729 187 sjacqu01
    <xsl:for-each select="id($ID)">
730 187 sjacqu01
      <xsl:choose>
731 187 sjacqu01
        <xsl:when test="ancestor::tei:front">
732 187 sjacqu01
          <xsl:number format="i"/>
733 187 sjacqu01
        </xsl:when>
734 187 sjacqu01
        <xsl:when test="ancestor::tei:back">
735 187 sjacqu01
          <xsl:number format="A"/>
736 187 sjacqu01
        </xsl:when>
737 187 sjacqu01
        <xsl:otherwise>
738 187 sjacqu01
          <xsl:number/>
739 187 sjacqu01
        </xsl:otherwise>
740 187 sjacqu01
      </xsl:choose>
741 187 sjacqu01
      <xsl:text> </xsl:text>
742 187 sjacqu01
    </xsl:for-each>
743 187 sjacqu01
    <xsl:for-each select="document('')">
744 187 sjacqu01
      <xsl:choose>
745 187 sjacqu01
        <xsl:when test="key('HEADS',concat($documentationLanguage,$ID))">
746 187 sjacqu01
          <xsl:for-each select="key('HEADS',concat($documentationLanguage,$ID))">
747 187 sjacqu01
            <xsl:value-of select="."/>
748 187 sjacqu01
          </xsl:for-each>
749 187 sjacqu01
        </xsl:when>
750 187 sjacqu01
        <xsl:otherwise>
751 187 sjacqu01
          <xsl:for-each select="$Here">
752 187 sjacqu01
            <xsl:for-each select="id($ID)">
753 187 sjacqu01
              <xsl:value-of select="tei:head"/>
754 187 sjacqu01
            </xsl:for-each>
755 187 sjacqu01
          </xsl:for-each>
756 187 sjacqu01
        </xsl:otherwise>
757 187 sjacqu01
      </xsl:choose>
758 187 sjacqu01
    </xsl:for-each>
759 187 sjacqu01
  </xsl:template>
760 187 sjacqu01
  <xsl:template name="numberFrontDiv">
761 187 sjacqu01
    <xsl:param name="minimal"/>
762 187 sjacqu01
    <xsl:if test="count(ancestor::tei:div)&lt;2">
763 187 sjacqu01
      <xsl:number count="tei:div" format="i.1.1." level="multiple"/>
764 187 sjacqu01
      <xsl:if test="$minimal='false'">
765 187 sjacqu01
        <xsl:value-of select="$numberSpacer"/>
766 187 sjacqu01
      </xsl:if>
767 187 sjacqu01
    </xsl:if>
768 187 sjacqu01
  </xsl:template>
769 187 sjacqu01
  <xsl:template name="pageHeader">
770 187 sjacqu01
    <xsl:param name="mode"/>
771 187 sjacqu01
    <xsl:call-template name="makeHTMLHeading">
772 187 sjacqu01
      <xsl:with-param name="class">title</xsl:with-param>
773 187 sjacqu01
      <xsl:with-param name="text">
774 187 sjacqu01
        <xsl:call-template name="generateTitle"/>
775 187 sjacqu01
      </xsl:with-param>
776 187 sjacqu01
      <xsl:with-param name="level">1</xsl:with-param>
777 187 sjacqu01
    </xsl:call-template>
778 187 sjacqu01
    <xsl:call-template name="makeHTMLHeading">
779 187 sjacqu01
      <xsl:with-param name="class">subtitle</xsl:with-param>
780 187 sjacqu01
      <xsl:with-param name="text">
781 187 sjacqu01
        <xsl:call-template name="generateSubTitle"/>
782 187 sjacqu01
      </xsl:with-param>
783 187 sjacqu01
      <xsl:with-param name="level">2</xsl:with-param>
784 187 sjacqu01
    </xsl:call-template>
785 187 sjacqu01
  </xsl:template>
786 187 sjacqu01
  <xsl:template name="stdheader">
787 187 sjacqu01
    <xsl:param name="title" select="'(no title)'"/>
788 187 sjacqu01
    <xsl:call-template name="pageHeader"/>
789 187 sjacqu01
  </xsl:template>
790 187 sjacqu01
  <xsl:template match="tei:titlePage">
791 187 sjacqu01
    <!--
792 187 sjacqu01
	<div class="titlePage">
793 187 sjacqu01
	<h1>
794 187 sjacqu01
	<xsl:apply-templates
795 187 sjacqu01
	select="tei:docTitle/tei:titlePart/tei:title"/>
796 187 sjacqu01
	</h1>
797 187 sjacqu01
	<h2>
798 187 sjacqu01
	<xsl:value-of select="tei:docAuthor"/>
799 187 sjacqu01
	</h2>
800 187 sjacqu01
	</div>
801 187 sjacqu01
    -->
802 187 sjacqu01
  </xsl:template>
803 187 sjacqu01
  <xsl:template name="continuedToc">
804 187 sjacqu01
    <xsl:if test="tei:div">
805 187 sjacqu01
      <ul class="continuedtoc">
806 187 sjacqu01
        <xsl:apply-templates mode="maketoc" select="tei:div"/>
807 187 sjacqu01
      </ul>
808 187 sjacqu01
    </xsl:if>
809 187 sjacqu01
  </xsl:template>
810 187 sjacqu01
  <xsl:template match="tei:div" mode="maketoc">
811 187 sjacqu01
    <xsl:param name="forcedepth"/>
812 187 sjacqu01
    <xsl:variable name="myName">
813 187 sjacqu01
      <xsl:value-of select="local-name(.)"/>
814 187 sjacqu01
    </xsl:variable>
815 187 sjacqu01
    <xsl:if test="tei:head or $autoHead='true'">
816 187 sjacqu01
      <xsl:variable name="Depth">
817 187 sjacqu01
        <xsl:choose>
818 187 sjacqu01
          <xsl:when test="not($forcedepth='')">
819 187 sjacqu01
            <xsl:value-of select="$forcedepth"/>
820 187 sjacqu01
          </xsl:when>
821 187 sjacqu01
          <xsl:otherwise>
822 187 sjacqu01
            <xsl:value-of select="$tocDepth"/>
823 187 sjacqu01
          </xsl:otherwise>
824 187 sjacqu01
        </xsl:choose>
825 187 sjacqu01
      </xsl:variable>
826 187 sjacqu01
      <xsl:variable name="thislevel">
827 187 sjacqu01
        <xsl:value-of select="count(ancestor::tei:div)"/>
828 187 sjacqu01
      </xsl:variable>
829 187 sjacqu01
      <xsl:variable name="pointer">
830 187 sjacqu01
        <xsl:apply-templates mode="generateLink" select="."/>
831 187 sjacqu01
      </xsl:variable>
832 187 sjacqu01
      <li>
833 187 sjacqu01
        <xsl:choose>
834 187 sjacqu01
	  <xsl:when test="$outputTarget='epub' or $outputTarget='epub3'"/>
835 187 sjacqu01
          <xsl:when test="not(ancestor::tei:div) and tei:div">
836 187 sjacqu01
            <xsl:attribute name="class">
837 187 sjacqu01
              <xsl:text>tocTree</xsl:text>
838 187 sjacqu01
            </xsl:attribute>
839 187 sjacqu01
            <span class="showhide">
840 187 sjacqu01
              <span class="tocShow">
841 187 sjacqu01
                <img alt="+" src="Images/plus.gif"/>
842 187 sjacqu01
              </span>
843 187 sjacqu01
              <span class="tocHide">
844 187 sjacqu01
                <img alt="-" src="Images/minus.gif"/>
845 187 sjacqu01
              </span>
846 187 sjacqu01
            </span>
847 187 sjacqu01
          </xsl:when>
848 187 sjacqu01
          <xsl:otherwise>
849 187 sjacqu01
            <xsl:attribute name="class">
850 187 sjacqu01
              <xsl:text>toc</xsl:text>
851 187 sjacqu01
            </xsl:attribute>
852 187 sjacqu01
            <span class="notshowhide">
853 187 sjacqu01
              <xsl:text>&#160;&#160;</xsl:text>
854 187 sjacqu01
            </span>
855 187 sjacqu01
          </xsl:otherwise>
856 187 sjacqu01
        </xsl:choose>
857 187 sjacqu01
        <xsl:call-template name="header">
858 187 sjacqu01
          <xsl:with-param name="toc" select="$pointer"/>
859 187 sjacqu01
          <xsl:with-param name="minimal">false</xsl:with-param>
860 187 sjacqu01
          <xsl:with-param name="display">plain</xsl:with-param>
861 187 sjacqu01
        </xsl:call-template>
862 187 sjacqu01
        <xsl:if test="$thislevel &lt; $Depth">
863 187 sjacqu01
          <xsl:call-template name="continuedToc"/>
864 187 sjacqu01
        </xsl:if>
865 187 sjacqu01
      </li>
866 187 sjacqu01
    </xsl:if>
867 187 sjacqu01
  </xsl:template>
868 187 sjacqu01
  <!--
869 187 sjacqu01
  <xsl:template name="mainTOC">
870 187 sjacqu01
    <xsl:param name="force"/>
871 187 sjacqu01
872 187 sjacqu01
    <div class="toc_back">
873 187 sjacqu01
      <h3>
874 187 sjacqu01
      	  <xsl:call-template name="i18n">
875 187 sjacqu01
	    <xsl:with-param name="word">Back Matter</xsl:with-param>
876 187 sjacqu01
	  </xsl:call-template>
877 187 sjacqu01
      </h3>
878 187 sjacqu01
      <xsl:for-each
879 187 sjacqu01
	  select="ancestor-or-self::tei:TEI/tei:text/tei:back">
880 187 sjacqu01
	<xsl:if test="tei:div">
881 187 sjacqu01
	  <ul class="toc{$force} toc_back">
882 187 sjacqu01
	    <xsl:apply-templates mode="maketoc"
883 187 sjacqu01
				 select="tei:div">
884 187 sjacqu01
	      <xsl:with-param name="forcedepth" select="$force"/>
885 187 sjacqu01
              </xsl:apply-templates>
886 187 sjacqu01
	  </ul>
887 187 sjacqu01
	</xsl:if>
888 187 sjacqu01
      </xsl:for-each>
889 187 sjacqu01
    </div>
890 187 sjacqu01
891 187 sjacqu01
    <div class="toc_front">
892 187 sjacqu01
      <h3>
893 187 sjacqu01
      	  <xsl:call-template name="i18n">
894 187 sjacqu01
	    <xsl:with-param name="word">Front Matter</xsl:with-param>
895 187 sjacqu01
	  </xsl:call-template>
896 187 sjacqu01
      </h3>
897 187 sjacqu01
      <xsl:for-each
898 187 sjacqu01
	  select="ancestor-or-self::tei:TEI/tei:text/tei:front">
899 187 sjacqu01
	<xsl:if	    test="tei:div">
900 187 sjacqu01
	  <ul class="toc{$force} toc_front">
901 187 sjacqu01
	    <xsl:apply-templates mode="maketoc" select="tei:div">
902 187 sjacqu01
	      <xsl:with-param name="forcedepth" select="$force"/>
903 187 sjacqu01
	    </xsl:apply-templates>
904 187 sjacqu01
            </ul>
905 187 sjacqu01
	</xsl:if>
906 187 sjacqu01
      </xsl:for-each>
907 187 sjacqu01
    </div>
908 187 sjacqu01
909 187 sjacqu01
    <div class="toc_body">
910 187 sjacqu01
      <h3>
911 187 sjacqu01
      	  <xsl:call-template name="i18n">
912 187 sjacqu01
	    <xsl:with-param name="word">Text body</xsl:with-param>
913 187 sjacqu01
	  </xsl:call-template>
914 187 sjacqu01
      </h3>
915 187 sjacqu01
      <xsl:for-each
916 187 sjacqu01
        select="ancestor-or-self::tei:TEI/tei:text/tei:body">
917 187 sjacqu01
        <xsl:if          test="tei:div">
918 187 sjacqu01
          <ul class="toc{$force}  toc_body">
919 187 sjacqu01
            <xsl:apply-templates mode="maketoc"
920 187 sjacqu01
              select="tei:div">
921 187 sjacqu01
              <xsl:with-param name="forcedepth" select="$force"/>
922 187 sjacqu01
            </xsl:apply-templates>
923 187 sjacqu01
          </ul>
924 187 sjacqu01
        </xsl:if>
925 187 sjacqu01
      </xsl:for-each>
926 187 sjacqu01
    </div>
927 187 sjacqu01
928 187 sjacqu01
  </xsl:template>
929 187 sjacqu01
930 187 sjacqu01
-->
931 187 sjacqu01
  <xsl:template match="tei:divGen[@type='toc']">
932 187 sjacqu01
    <xsl:call-template name="mainPage"/>
933 187 sjacqu01
  </xsl:template>
934 187 sjacqu01
  <xsl:template name="javascriptHook">
935 187 sjacqu01
    <script type="text/javascript" src="jquery-1.2.6.min.js">
936 187 sjacqu01
      <xsl:comment>JQuery</xsl:comment>
937 187 sjacqu01
    </script>
938 187 sjacqu01
    <!--
939 187 sjacqu01
    <script type="text/javascript" src="jquery.treeview.js">
940 187 sjacqu01
       <xsl:comment>JQuery treeview</xsl:comment>
941 187 sjacqu01
    </script>
942 187 sjacqu01
-->
943 187 sjacqu01
    <script type="text/javascript" src="columnlist.js">
944 187 sjacqu01
      <xsl:comment>JQuery columnlist</xsl:comment>
945 187 sjacqu01
    </script>
946 187 sjacqu01
    <script type="text/javascript">
947 187 sjacqu01
        $(function() {
948 187 sjacqu01
         $('ul.attrefs-class').columnizeList({cols:3,width:30,unit:'%'});
949 187 sjacqu01
         $('ul.attrefs-element').columnizeList({cols:3,width:30,unit:'%'});
950 187 sjacqu01
         $(".displayRelaxButton").click(function() {
951 187 sjacqu01
           $(this).parent().find('.RNG_XML').toggle();
952 187 sjacqu01
           $(this).parent().find('.RNG_Compact').toggle();
953 187 sjacqu01
         });
954 187 sjacqu01
         $(".tocTree .showhide").click(function() {
955 187 sjacqu01
          $(this).find(".tocShow,.tocHide").toggle();
956 187 sjacqu01
          $(this).parent().find("ul.continuedtoc").toggle();
957 187 sjacqu01
	  });
958 187 sjacqu01
        })
959 187 sjacqu01
    </script>
960 187 sjacqu01
    <xsl:if test="not($googleAnalytics='')">
961 187 sjacqu01
      <script type="text/javascript" src="udm-all.js">
962 187 sjacqu01
        <xsl:comment>UDM</xsl:comment>
963 187 sjacqu01
      </script>
964 187 sjacqu01
      <link rel="stylesheet" href="udm.css"/>
965 187 sjacqu01
    </xsl:if>
966 187 sjacqu01
    <xsl:call-template name="jsForOdds"/>
967 187 sjacqu01
  </xsl:template>
968 187 sjacqu01
  <xsl:template name="sectionHeadHook">
969 187 sjacqu01
    <xsl:variable name="ident">
970 187 sjacqu01
      <xsl:apply-templates mode="ident" select="."/>
971 187 sjacqu01
    </xsl:variable>
972 187 sjacqu01
    <xsl:variable name="d">
973 187 sjacqu01
      <xsl:apply-templates mode="depth" select="."/>
974 187 sjacqu01
    </xsl:variable>
975 187 sjacqu01
    <xsl:if test="$d &gt; 0">
976 187 sjacqu01
      <span class="bookmarklink">
977 187 sjacqu01
        <a class="bookmarklink" href="#{$ident}">
978 187 sjacqu01
          <xsl:attribute name="title">
979 187 sjacqu01
            <xsl:text>link to this section </xsl:text>
980 187 sjacqu01
          </xsl:attribute>
981 187 sjacqu01
          <span class="invisible">
982 187 sjacqu01
            <xsl:text>TEI: </xsl:text>
983 187 sjacqu01
            <xsl:value-of select="tei:head[1]"/>
984 187 sjacqu01
          </span>
985 187 sjacqu01
          <span class="pilcrow">
986 187 sjacqu01
            <xsl:text>¶</xsl:text>
987 187 sjacqu01
          </span>
988 187 sjacqu01
        </a>
989 187 sjacqu01
      </span>
990 187 sjacqu01
    </xsl:if>
991 187 sjacqu01
  </xsl:template>
992 187 sjacqu01
  <xsl:template match="/div"> </xsl:template>
993 187 sjacqu01
  <xsl:template name="myi18n">
994 187 sjacqu01
    <xsl:param name="word"/>
995 187 sjacqu01
    <xsl:choose>
996 187 sjacqu01
      <xsl:when test="$word='previousWord'">
997 187 sjacqu01
        <span class="icon">
998 187 sjacqu01
          <xsl:text>« </xsl:text>
999 187 sjacqu01
        </span>
1000 187 sjacqu01
      </xsl:when>
1001 187 sjacqu01
      <xsl:when test="$word='upWord'">
1002 187 sjacqu01
        <span class="icon">
1003 187 sjacqu01
          <xsl:text>↑ </xsl:text>
1004 187 sjacqu01
        </span>
1005 187 sjacqu01
      </xsl:when>
1006 187 sjacqu01
      <xsl:when test="$word='nextWord'">
1007 187 sjacqu01
        <span class="icon">
1008 187 sjacqu01
          <xsl:text>» </xsl:text>
1009 187 sjacqu01
        </span>
1010 187 sjacqu01
      </xsl:when>
1011 187 sjacqu01
    </xsl:choose>
1012 187 sjacqu01
  </xsl:template>
1013 187 sjacqu01
1014 187 sjacqu01
  <!-- only use listBibl if its in right language-->
1015 187 sjacqu01
  <xsl:template match="tei:listBibl[@xml:lang and not($documentationLanguage=@xml:lang)]"/>
1016 187 sjacqu01
1017 187 sjacqu01
  <!-- link from bibl back to egXML -->
1018 187 sjacqu01
  <xsl:template
1019 187 sjacqu01
      match="tei:listBibl/tei:biblStruct|tei:listBibl/tei:bibl">
1020 187 sjacqu01
    <xsl:apply-templates/>
1021 187 sjacqu01
    <xsl:for-each select="key('BACKLINKS',@xml:id)">
1022 187 sjacqu01
      <xsl:if test="self::teix:egXML">
1023 187 sjacqu01
        <xsl:text> </xsl:text>
1024 187 sjacqu01
        <a class="link_return" title="Go back to text">
1025 187 sjacqu01
          <xsl:attribute name="href">
1026 187 sjacqu01
            <xsl:apply-templates select="." mode="generateLink"/>
1027 187 sjacqu01
          </xsl:attribute>
1028 187 sjacqu01
          <xsl:text>↵</xsl:text>
1029 187 sjacqu01
        </a>
1030 187 sjacqu01
      </xsl:if>
1031 187 sjacqu01
    </xsl:for-each>
1032 187 sjacqu01
  </xsl:template>
1033 187 sjacqu01
1034 187 sjacqu01
  <xsl:template name="egXMLEndHook">
1035 187 sjacqu01
    <xsl:if test="@corresp and id(substring(@corresp,2))">
1036 187 sjacqu01
      <div style="float: right;">
1037 187 sjacqu01
        <a>
1038 187 sjacqu01
          <xsl:attribute name="href">
1039 187 sjacqu01
            <xsl:apply-templates mode="generateLink" select="id(substring(@corresp,2))"/>
1040 187 sjacqu01
          </xsl:attribute>
1041 187 sjacqu01
          <xsl:text>bibliography</xsl:text>
1042 187 sjacqu01
          <!--	  <span class="citLink">&#x270d;</span>-->
1043 187 sjacqu01
        </a>
1044 187 sjacqu01
	<xsl:text>&#160;</xsl:text>
1045 187 sjacqu01
      </div>
1046 187 sjacqu01
    </xsl:if>
1047 187 sjacqu01
    <xsl:for-each select="ancestor::tei:elementSpec">
1048 187 sjacqu01
      <div style="float: right;">
1049 187 sjacqu01
        <a href="examples-{@ident}.html">
1050 187 sjacqu01
          <xsl:call-template name="i18n">
1051 187 sjacqu01
            <xsl:with-param name="word">Show all</xsl:with-param>
1052 187 sjacqu01
          </xsl:call-template>
1053 187 sjacqu01
        </a>
1054 187 sjacqu01
	<xsl:text>&#160;</xsl:text>
1055 187 sjacqu01
      </div>
1056 187 sjacqu01
    </xsl:for-each>
1057 187 sjacqu01
  </xsl:template>
1058 187 sjacqu01
  <xsl:template name="figureHook">
1059 187 sjacqu01
    <xsl:if test="@corresp and id(substring(@corresp,2))">
1060 187 sjacqu01
      <div style="float: right;">
1061 187 sjacqu01
        <a>
1062 187 sjacqu01
          <xsl:attribute name="href">
1063 187 sjacqu01
            <xsl:apply-templates mode="generateLink" select="id(substring(@corresp,2))"/>
1064 187 sjacqu01
          </xsl:attribute>
1065 187 sjacqu01
          <xsl:text>bibliography</xsl:text>
1066 187 sjacqu01
        </a>
1067 187 sjacqu01
      </div>
1068 187 sjacqu01
    </xsl:if>
1069 187 sjacqu01
  </xsl:template>
1070 187 sjacqu01
  <xsl:template name="stdfooter">
1071 187 sjacqu01
    <xsl:param name="style" select="'plain'"/>
1072 187 sjacqu01
    <xsl:param name="file">index</xsl:param>
1073 187 sjacqu01
    <xsl:variable name="date">
1074 187 sjacqu01
      <xsl:call-template name="generateDate"/>
1075 187 sjacqu01
    </xsl:variable>
1076 187 sjacqu01
    <xsl:variable name="author">
1077 187 sjacqu01
      <xsl:call-template name="generateAuthor"/>
1078 187 sjacqu01
    </xsl:variable>
1079 187 sjacqu01
    <div class="stdfooter">
1080 187 sjacqu01
      <xsl:if test="$outputTarget='html'">
1081 187 sjacqu01
        <p>
1082 187 sjacqu01
	  [<a href="../../en/html/{$file}.html">English</a>]
1083 187 sjacqu01
	  [<a href="../../de/html/{$file}.html">Deutsch</a>]
1084 187 sjacqu01
	  [<a href="../../es/html/{$file}.html">Español</a>]
1085 187 sjacqu01
	  [<a href="../../it/html/{$file}.html">Italiano</a>]
1086 187 sjacqu01
	  [<a href="../../fr/html/{$file}.html">Français</a>]
1087 187 sjacqu01
	  [<a href="../../ja/html/{$file}.html">日本語</a>]
1088 187 sjacqu01
	  [<a href="../../kr/html/{$file}.html">한국어</a>]
1089 187 sjacqu01
	  [<a href="../../zh-TW/html/{$file}.html">中文</a>]
1090 187 sjacqu01
	</p>
1091 187 sjacqu01
      </xsl:if>
1092 187 sjacqu01
      <hr/>
1093 187 sjacqu01
      <xsl:if test="$linkPanel='true'">
1094 187 sjacqu01
        <div class="footer">
1095 187 sjacqu01
          <xsl:if test="not($parentURL='')">
1096 187 sjacqu01
            <a class="{$style}" href="{$parentURL}">
1097 187 sjacqu01
              <xsl:value-of select="$parentWords"/>
1098 187 sjacqu01
            </a>
1099 187 sjacqu01
          </xsl:if>
1100 187 sjacqu01
          <xsl:if test="$searchURL"> | <a class="{$style}" href="{$searchURL}" target="_top"><xsl:call-template name="searchWords"/></a>
1101 187 sjacqu01
          </xsl:if>
1102 187 sjacqu01
          <xsl:if test="$feedbackURL"> | <a class="{$style}" href="{$feedbackURL}"><xsl:call-template name="feedbackWords"/></a>
1103 187 sjacqu01
          </xsl:if>
1104 187 sjacqu01
        </div>
1105 187 sjacqu01
        <hr/>
1106 187 sjacqu01
      </xsl:if>
1107 187 sjacqu01
      <xsl:for-each
1108 187 sjacqu01
	  select="ancestor-or-self::tei:TEI/tei:teiHeader/tei:fileDesc/tei:publicationStmt/tei:availability">
1109 187 sjacqu01
	<div class="availability">
1110 187 sjacqu01
	  <xsl:apply-templates/>
1111 187 sjacqu01
	  <xsl:choose>
1112 187 sjacqu01
	    <xsl:when test="count(tei:licence)&gt;1">
1113 187 sjacqu01
	      <ol>
1114 187 sjacqu01
		<xsl:for-each select="tei:licence">
1115 187 sjacqu01
		  <li>
1116 187 sjacqu01
		    <xsl:choose>
1117 187 sjacqu01
		      <xsl:when test="@target">
1118 187 sjacqu01
			<a href="{@target}"><xsl:value-of select="@target"/></a>
1119 187 sjacqu01
		      </xsl:when>
1120 187 sjacqu01
		      <xsl:otherwise>
1121 187 sjacqu01
			<xsl:apply-templates/>
1122 187 sjacqu01
		      </xsl:otherwise>
1123 187 sjacqu01
		    </xsl:choose>
1124 187 sjacqu01
		  </li>
1125 187 sjacqu01
		</xsl:for-each>
1126 187 sjacqu01
	      </ol>
1127 187 sjacqu01
	    </xsl:when>
1128 187 sjacqu01
	    <xsl:otherwise>
1129 187 sjacqu01
	      <div class="licence">
1130 187 sjacqu01
		<xsl:for-each select="tei:licence">
1131 187 sjacqu01
		  <a href="{@target}">
1132 187 sjacqu01
		    <xsl:apply-templates/>
1133 187 sjacqu01
		  </a>
1134 187 sjacqu01
		</xsl:for-each>
1135 187 sjacqu01
	      </div>
1136 187 sjacqu01
	    </xsl:otherwise>
1137 187 sjacqu01
	  </xsl:choose>
1138 187 sjacqu01
	</div>
1139 187 sjacqu01
      </xsl:for-each>
1140 187 sjacqu01
1141 187 sjacqu01
      <address>
1142 187 sjacqu01
	<br/>
1143 187 sjacqu01
        <xsl:text>Version </xsl:text>
1144 187 sjacqu01
        <xsl:value-of
1145 187 sjacqu01
	    select="ancestor-or-self::tei:TEI/tei:teiHeader/tei:fileDesc/tei:editionStmt/tei:edition"/>
1146 187 sjacqu01
        <xsl:text>This page generated on </xsl:text>
1147 187 sjacqu01
	<xsl:call-template name="whatsTheDate"/>
1148 187 sjacqu01
      </address>
1149 187 sjacqu01
    </div>
1150 187 sjacqu01
    <xsl:if test="not($googleAnalytics='')">
1151 187 sjacqu01
      <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
1152 187 sjacqu01
        <!-- load google analytics -->
1153 187 sjacqu01
      </script>
1154 187 sjacqu01
      <script type="text/javascript">
1155 187 sjacqu01
        <xsl:text>_uacct = "</xsl:text>
1156 187 sjacqu01
        <xsl:value-of select="$googleAnalytics"/>
1157 187 sjacqu01
        <xsl:text>";
1158 187 sjacqu01
	urchinTracker();
1159 187 sjacqu01
	</xsl:text>
1160 187 sjacqu01
      </script>
1161 187 sjacqu01
    </xsl:if>
1162 187 sjacqu01
  </xsl:template>
1163 187 sjacqu01
  <xsl:template name="guidelinesTop">
1164 187 sjacqu01
    <xsl:param name="name"/>
1165 187 sjacqu01
    <xsl:if test="$outputTarget='html'">
1166 187 sjacqu01
      <xsl:if test="not($googleAnalytics='')">
1167 187 sjacqu01
        <script type="text/javascript" src="udm-dom.js">
1168 187 sjacqu01
          <xsl:comment>&#160;</xsl:comment>
1169 187 sjacqu01
        </script>
1170 187 sjacqu01
        <script type="text/javascript" src="udm-mod-keyboard.js">
1171 187 sjacqu01
          <xsl:comment>&#160;</xsl:comment>
1172 187 sjacqu01
        </script>
1173 187 sjacqu01
      </xsl:if>
1174 187 sjacqu01
      <div id="container">
1175 187 sjacqu01
        <a href="#contentstart" title="Skip to content" class="skip">skip to content</a>
1176 187 sjacqu01
        <div id="banner">
1177 187 sjacqu01
          <img src="Images/banner.jpg" alt="Text Encoding Initiative logo and banner"/>
1178 187 sjacqu01
        </div>
1179 187 sjacqu01
        <xsl:if test="not($googleAnalytics='')">
1180 187 sjacqu01
          <xsl:copy-of select="document('staticnav.xml')/html:ul"/>
1181 187 sjacqu01
        </xsl:if>
1182 187 sjacqu01
      </div>
1183 187 sjacqu01
      <div id="searchbox" style="float:left;">
1184 187 sjacqu01
        <form action="http://www.google.com/search" method="get">
1185 187 sjacqu01
          <fieldset><input style="color:#225588;" value="" maxlength="255" size="20" name="q" type="text"/>&#160;<select name="sitesearch"><option value="http://www.tei-c.org/">Entire site</option><option value="http://www.tei-c.org/release/doc/tei-p5-doc/{$documentationLanguage}/html/" selected="selected">P5 Guidelines
1186 187 sjacqu01
	    <xsl:choose><xsl:when test="$documentationLanguage='en'"> — English</xsl:when><xsl:when test="$documentationLanguage='de'"> — Deutsch</xsl:when><xsl:when test="$documentationLanguage='es'"> — Español</xsl:when><xsl:when test="$documentationLanguage='it'"> — Italiano</xsl:when><xsl:when test="$documentationLanguage='fr'"> — Français</xsl:when><xsl:when test="$documentationLanguage='ja'"> — 日本語</xsl:when><xsl:when test="$documentationLanguage='kr'"> — 한국어</xsl:when><xsl:when test="$documentationLanguage='zh-TW'"> — 中文</xsl:when></xsl:choose>
1187 187 sjacqu01
	    </option><option value="http://www.tei-c.org/Guidelines/P4/html/">P4 Guidelines</option></select>&#160;<input style="font-size:100%; font-weight:bold;      color:#FFFFFF; background-color:#225588; height: 2em;" value="Search" type="submit"/></fieldset>
1188 187 sjacqu01
        </form>
1189 187 sjacqu01
      </div>
1190 187 sjacqu01
    </xsl:if>
1191 187 sjacqu01
    <div class="mainhead">
1192 187 sjacqu01
      <h1>P5:
1193 187 sjacqu01
    <xsl:call-template name="i18n"><xsl:with-param name="word">GuidelinesTEI</xsl:with-param></xsl:call-template>
1194 187 sjacqu01
    </h1>
1195 187 sjacqu01
    </div>
1196 187 sjacqu01
  </xsl:template>
1197 187 sjacqu01
  <xsl:template name="generateParentsByAttribute">
1198 187 sjacqu01
    <xsl:variable name="this" select="@ident"/>
1199 187 sjacqu01
    <xsl:if test="count(key('ATTREFS-CLASS',$this))&gt;0">
1200 187 sjacqu01
      <div>
1201 187 sjacqu01
        <xsl:call-template name="i18n">
1202 187 sjacqu01
          <xsl:with-param name="word">
1203 187 sjacqu01
            <xsl:text>Class</xsl:text>
1204 187 sjacqu01
          </xsl:with-param>
1205 187 sjacqu01
        </xsl:call-template>
1206 187 sjacqu01
        <xsl:text>: </xsl:text>
1207 187 sjacqu01
        <ul class="attrefs-class">
1208 187 sjacqu01
          <xsl:for-each select="key('ATTREFS-CLASS',$this)">
1209 187 sjacqu01
            <xsl:sort select="ancestor::tei:classSpec/@ident"/>
1210 187 sjacqu01
            <xsl:sort select="@ident"/>
1211 187 sjacqu01
            <li>
1212 187 sjacqu01
              <xsl:for-each select="ancestor::tei:classSpec">
1213 187 sjacqu01
                <xsl:call-template name="linkTogether">
1214 187 sjacqu01
                  <xsl:with-param name="name">
1215 187 sjacqu01
                    <xsl:value-of select="@ident"/>
1216 187 sjacqu01
                  </xsl:with-param>
1217 187 sjacqu01
                  <xsl:with-param name="class">
1218 187 sjacqu01
                    <xsl:text>link_odd_class</xsl:text>
1219 187 sjacqu01
                  </xsl:with-param>
1220 187 sjacqu01
                </xsl:call-template>
1221 187 sjacqu01
              </xsl:for-each>
1222 187 sjacqu01
              <xsl:text>/@</xsl:text>
1223 187 sjacqu01
              <xsl:value-of select="ancestor::tei:attDef/@ident"/>
1224 187 sjacqu01
              <xsl:call-template name="showSpace"/>
1225 187 sjacqu01
            </li>
1226 187 sjacqu01
          </xsl:for-each>
1227 187 sjacqu01
        </ul>
1228 187 sjacqu01
      </div>
1229 187 sjacqu01
    </xsl:if>
1230 187 sjacqu01
    <xsl:if test="count(key('ATTREFS-ELEMENT',$this))&gt;0">
1231 187 sjacqu01
      <div>
1232 187 sjacqu01
        <xsl:call-template name="i18n">
1233 187 sjacqu01
          <xsl:with-param name="word">
1234 187 sjacqu01
            <xsl:text>Element</xsl:text>
1235 187 sjacqu01
          </xsl:with-param>
1236 187 sjacqu01
        </xsl:call-template>
1237 187 sjacqu01
        <xsl:text>: </xsl:text>
1238 187 sjacqu01
        <ul class="attrefs-element">
1239 187 sjacqu01
          <xsl:for-each select="key('ATTREFS-ELEMENT',$this)">
1240 187 sjacqu01
            <xsl:sort select="ancestor::tei:elementSpec/@ident"/>
1241 187 sjacqu01
            <xsl:sort select="@ident"/>
1242 187 sjacqu01
            <li>
1243 187 sjacqu01
              <xsl:for-each select="ancestor::tei:elementSpec">
1244 187 sjacqu01
                <xsl:call-template name="linkTogether">
1245 187 sjacqu01
                  <xsl:with-param name="name">
1246 187 sjacqu01
                    <xsl:value-of select="@ident"/>
1247 187 sjacqu01
                  </xsl:with-param>
1248 187 sjacqu01
                  <xsl:with-param name="class">
1249 187 sjacqu01
                    <xsl:text>link_odd_element</xsl:text>
1250 187 sjacqu01
                  </xsl:with-param>
1251 187 sjacqu01
                </xsl:call-template>
1252 187 sjacqu01
              </xsl:for-each>
1253 187 sjacqu01
              <xsl:text>/@</xsl:text>
1254 187 sjacqu01
	      <xsl:for-each select="ancestor::tei:attDef">
1255 187 sjacqu01
		<xsl:value-of select="(tei:altIdent|@ident)[last()]"/>
1256 187 sjacqu01
	      </xsl:for-each>
1257 187 sjacqu01
              <xsl:call-template name="showSpace"/>
1258 187 sjacqu01
            </li>
1259 187 sjacqu01
          </xsl:for-each>
1260 187 sjacqu01
        </ul>
1261 187 sjacqu01
      </div>
1262 187 sjacqu01
    </xsl:if>
1263 187 sjacqu01
  </xsl:template>
1264 187 sjacqu01
</xsl:stylesheet>