1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*1e519d8dSAndrew Rist<!--***********************************************************
3*1e519d8dSAndrew Rist *
4*1e519d8dSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
5*1e519d8dSAndrew Rist * or more contributor license agreements.  See the NOTICE file
6*1e519d8dSAndrew Rist * distributed with this work for additional information
7*1e519d8dSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
8*1e519d8dSAndrew Rist * to you under the Apache License, Version 2.0 (the
9*1e519d8dSAndrew Rist * "License"); you may not use this file except in compliance
10*1e519d8dSAndrew Rist * with the License.  You may obtain a copy of the License at
11*1e519d8dSAndrew Rist *
12*1e519d8dSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
13*1e519d8dSAndrew Rist *
14*1e519d8dSAndrew Rist * Unless required by applicable law or agreed to in writing,
15*1e519d8dSAndrew Rist * software distributed under the License is distributed on an
16*1e519d8dSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17*1e519d8dSAndrew Rist * KIND, either express or implied.  See the License for the
18*1e519d8dSAndrew Rist * specific language governing permissions and limitations
19*1e519d8dSAndrew Rist * under the License.
20*1e519d8dSAndrew Rist *
21*1e519d8dSAndrew Rist ***********************************************************-->
22*1e519d8dSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script" xmlns:config="http://openoffice.org/2001/config" office:class="text" office:version="1.0">
25cdf0e10cSrcweir	<xsl:decimal-format name="staff" digit="D"/>
26cdf0e10cSrcweir	<xsl:template match="/">
27cdf0e10cSrcweir		<xsl:element name="office:document">
28cdf0e10cSrcweir			<office:meta>
29cdf0e10cSrcweir				<dc:title>
30cdf0e10cSrcweir					<xsl:value-of select="/article/articleinfo/title"/>
31cdf0e10cSrcweir				</dc:title>
32cdf0e10cSrcweir				<dc:description></dc:description>
33cdf0e10cSrcweir				<dc:subject></dc:subject>
34cdf0e10cSrcweir				<dc:date>
35cdf0e10cSrcweir					<xsl:value-of select="article/articleinfo/pubdate"/>
36cdf0e10cSrcweir				</dc:date>
37cdf0e10cSrcweir				<dc:language>
38cdf0e10cSrcweir					<xsl:value-of select="article/@lang"/>
39cdf0e10cSrcweir				</dc:language>
40cdf0e10cSrcweir				<meta:user-defined meta:name="Info 1"/>
41cdf0e10cSrcweir				<meta:user-defined meta:name="Info 2"/>
42cdf0e10cSrcweir				<meta:user-defined meta:name="Info 3"/>
43cdf0e10cSrcweir				<meta:user-defined meta:name="Info 4"/>
44cdf0e10cSrcweir			</office:meta>
45cdf0e10cSrcweir			<office:font-decls>
46cdf0e10cSrcweir				<style:font-decl style:name="Tahoma1" fo:font-family="Tahoma"/>
47cdf0e10cSrcweir				<style:font-decl style:name="Thorndale" fo:font-family="Thorndale" style:font-family-generic="roman" style:font-pitch="variable"/>
48cdf0e10cSrcweir				<style:font-decl style:name="Albany" fo:font-family="Albany" style:font-family-generic="swiss" style:font-pitch="variable"/>
49cdf0e10cSrcweir				<style:font-decl style:name="Andale Sans UI" fo:font-family="'Andale Sans UI'" style:font-family-generic="system" style:font-pitch="variable"/>
50cdf0e10cSrcweir				<style:font-decl style:name="MS Mincho" fo:font-family="'MS Mincho'" style:font-family-generic="system" style:font-pitch="variable"/>
51cdf0e10cSrcweir				<style:font-decl style:name="Tahoma" fo:font-family="Tahoma" style:font-family-generic="system" style:font-pitch="variable"/>
52cdf0e10cSrcweir			</office:font-decls>
53cdf0e10cSrcweir			<office:styles>
54cdf0e10cSrcweir				<style:default-style style:family="graphics">
55cdf0e10cSrcweir					<style:properties draw:shadow-offset-x="0.3cm" draw:shadow-offset-y="0.3cm" draw:start-line-spacing-horizontal="0.283cm" draw:start-line-spacing-vertical="0.283cm" draw:end-line-spacing-horizontal="0.283cm" draw:end-line-spacing-vertical="0.283cm" style:text-autospace="ideograph-alpha" style:line-break="strict" style:writing-mode="lr-tb" style:font-independent-line-spacing="false" style:use-window-font-color="true" fo:font-size="12pt" fo:language="en" fo:country="US" style:font-size-asian="12pt" style:language-asian="zxx" style:country-asian="none" style:font-size-complex="12pt" style:language-complex="zxx" style:country-complex="none">
56cdf0e10cSrcweir						<style:tab-stops/>
57cdf0e10cSrcweir					</style:properties>
58cdf0e10cSrcweir				</style:default-style>
59cdf0e10cSrcweir				<style:default-style style:family="paragraph">
60cdf0e10cSrcweir					<style:properties fo:hyphenation-ladder-count="no-limit" style:text-autospace="ideograph-alpha" style:punctuation-wrap="hanging" style:line-break="strict" style:tab-stop-distance="2.205cm" style:writing-mode="page" style:use-window-font-color="true" style:font-name="Thorndale" fo:font-size="12pt" fo:language="en" fo:country="US" style:font-name-asian="Andale Sans UI" style:font-size-asian="12pt" style:language-asian="zxx" style:country-asian="none" style:font-name-complex="Tahoma" style:font-size-complex="12pt" style:language-complex="zxx" style:country-complex="none" fo:hyphenate="false" fo:hyphenation-remain-char-count="2" fo:hyphenation-push-char-count="2"/>
61cdf0e10cSrcweir				</style:default-style>
62cdf0e10cSrcweir				<style:default-style style:family="table">
63cdf0e10cSrcweir					<style:properties table:border-model="separating"/>
64cdf0e10cSrcweir				</style:default-style>
65cdf0e10cSrcweir				<style:default-style style:family="table-row">
66cdf0e10cSrcweir					<style:properties fo:keep-together="always"/>
67cdf0e10cSrcweir				</style:default-style>
68cdf0e10cSrcweir				<style:style style:name="Standard" style:family="paragraph" style:class="text"/>
69cdf0e10cSrcweir				<style:style style:name="Text body" style:family="paragraph" style:parent-style-name="Standard" style:class="text">
70cdf0e10cSrcweir					<style:properties fo:margin-top="0cm" fo:margin-bottom="0.212cm"/>
71cdf0e10cSrcweir				</style:style>
72cdf0e10cSrcweir				<style:style style:name="Heading" style:family="paragraph" style:parent-style-name="Standard" style:next-style-name="Text body" style:class="text">
73cdf0e10cSrcweir					<style:properties fo:margin-top="0.423cm" fo:margin-bottom="0.212cm" fo:keep-with-next="true" style:font-name="Albany" fo:font-size="14pt" style:font-name-asian="MS Mincho" style:font-size-asian="14pt" style:font-name-complex="Tahoma" style:font-size-complex="14pt"/>
74cdf0e10cSrcweir				</style:style>
75cdf0e10cSrcweir				<style:style style:name="Heading 1" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Text body" style:class="text">
76cdf0e10cSrcweir					<style:properties fo:font-size="115%" fo:font-weight="bold" style:font-size-asian="115%" style:font-weight-asian="bold" style:font-size-complex="115%" style:font-weight-complex="bold"/>
77cdf0e10cSrcweir				</style:style>
78cdf0e10cSrcweir				<style:style style:name="Heading 2" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Text body" style:class="text">
79cdf0e10cSrcweir					<style:properties fo:font-size="14pt" fo:font-style="italic" fo:font-weight="bold" style:font-size-asian="14pt" style:font-style-asian="italic" style:font-weight-asian="bold" style:font-size-complex="14pt" style:font-style-complex="italic" style:font-weight-complex="bold"/>
80cdf0e10cSrcweir				</style:style>
81cdf0e10cSrcweir				<style:style style:name="Heading 3" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Text body" style:class="text">
82cdf0e10cSrcweir					<style:properties fo:font-size="14pt" fo:font-weight="bold" style:font-size-asian="14pt" style:font-weight-asian="bold" style:font-size-complex="14pt" style:font-weight-complex="bold"/>
83cdf0e10cSrcweir				</style:style>
84cdf0e10cSrcweir				<style:style style:name="Heading 4" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Text body" style:class="text">
85cdf0e10cSrcweir					<style:properties fo:font-size="85%" fo:font-style="italic" fo:font-weight="bold" style:font-size-asian="85%" style:font-style-asian="italic" style:font-weight-asian="bold" style:font-size-complex="85%" style:font-style-complex="italic" style:font-weight-complex="bold"/>
86cdf0e10cSrcweir				</style:style>
87cdf0e10cSrcweir				<style:style style:name="List" style:family="paragraph" style:parent-style-name="Text body" style:class="list">
88cdf0e10cSrcweir					<style:properties style:font-name-complex="Tahoma1"/>
89cdf0e10cSrcweir				</style:style>
90cdf0e10cSrcweir				<style:style style:name="Table Contents" style:family="paragraph" style:parent-style-name="Text body" style:class="extra">
91cdf0e10cSrcweir					<style:properties text:number-lines="false" text:line-number="0"/>
92cdf0e10cSrcweir				</style:style>
93cdf0e10cSrcweir				<style:style style:name="Table Heading" style:family="paragraph" style:parent-style-name="Table Contents" style:class="extra">
94cdf0e10cSrcweir					<style:properties fo:text-align="center" style:justify-single-word="false" text:number-lines="false" text:line-number="0" fo:font-style="italic" fo:font-weight="bold" style:font-style-asian="italic" style:font-weight-asian="bold" style:font-style-complex="italic" style:font-weight-complex="bold"/>
95cdf0e10cSrcweir				</style:style>
96cdf0e10cSrcweir				<style:style style:name="Caption" style:family="paragraph" style:parent-style-name="Standard" style:class="extra">
97cdf0e10cSrcweir					<style:properties fo:margin-top="0.212cm" fo:margin-bottom="0.212cm" text:number-lines="false" text:line-number="0" fo:font-size="10pt" fo:font-style="italic" style:font-size-asian="10pt" style:font-style-asian="italic" style:font-size-complex="10pt" style:font-style-complex="italic"/>
98cdf0e10cSrcweir				</style:style>
99cdf0e10cSrcweir				<style:style style:name="Table" style:family="paragraph" style:parent-style-name="Caption" style:class="extra"/>
100cdf0e10cSrcweir				<style:style style:name="Frame contents" style:family="paragraph" style:parent-style-name="Text body" style:class="extra"/>
101cdf0e10cSrcweir				<style:style style:name="Footnote" style:family="paragraph" style:parent-style-name="Standard" style:class="extra">
102cdf0e10cSrcweir					<style:properties fo:margin-left="0.499cm" fo:margin-right="0cm" fo:text-indent="-0.499cm" style:auto-text-indent="false" text:number-lines="false" text:line-number="0" fo:font-size="10pt" style:font-size-asian="10pt" style:font-size-complex="10pt"/>
103cdf0e10cSrcweir				</style:style>
104cdf0e10cSrcweir				<style:style style:name="Index" style:family="paragraph" style:parent-style-name="Standard" style:class="index">
105cdf0e10cSrcweir					<style:properties text:number-lines="false" text:line-number="0" style:font-name-complex="Tahoma1"/>
106cdf0e10cSrcweir				</style:style>
107cdf0e10cSrcweir				<style:style style:name="Subtitle" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Text body" style:class="chapter">
108cdf0e10cSrcweir					<style:properties fo:text-align="center" style:justify-single-word="false" fo:font-size="14pt" fo:font-style="italic" style:font-size-asian="14pt" style:font-style-asian="italic" style:font-size-complex="14pt" style:font-style-complex="italic"/>
109cdf0e10cSrcweir				</style:style>
110cdf0e10cSrcweir				<style:style style:name="Mediaobject" style:family="paragraph" style:class="text"/>
111cdf0e10cSrcweir				<style:style style:name="Object" style:family="paragraph" style:parent-style-name="Caption" style:class="extra"/>
112cdf0e10cSrcweir				<style:style style:name="Section Title" style:family="paragraph" style:next-style-name="Text body" style:master-page-name="">
113cdf0e10cSrcweir					<style:properties fo:line-height="200%" fo:text-transform="capitalize" fo:font-size="14pt"/>
114cdf0e10cSrcweir				</style:style>
115cdf0e10cSrcweir				<style:style style:name="Appendix Title" style:family="paragraph" style:next-style-name="Text body" style:master-page-name="">
116cdf0e10cSrcweir					<style:properties fo:line-height="200%" fo:text-transform="capitalize" fo:font-size="14pt"/>
117cdf0e10cSrcweir				</style:style>
118cdf0e10cSrcweir				<style:style style:name="Section1 Title" style:family="paragraph" style:next-style-name="Text body" style:master-page-name="">
119cdf0e10cSrcweir					<style:properties fo:line-height="200%" fo:text-transform="capitalize" fo:font-size="14pt"/>
120cdf0e10cSrcweir				</style:style>
121cdf0e10cSrcweir				<style:style style:name="Section2 Title" style:family="paragraph" style:next-style-name="Text body" style:master-page-name="">
122cdf0e10cSrcweir					<style:properties fo:line-height="200%" fo:text-transform="capitalize" fo:font-size="13pt"/>
123cdf0e10cSrcweir				</style:style>
124cdf0e10cSrcweir				<style:style style:name="Section3 Title" style:family="paragraph" style:next-style-name="Text body" style:master-page-name="">
125cdf0e10cSrcweir					<style:properties fo:line-height="200%" fo:text-transform="capitalize" fo:font-size="12pt"/>
126cdf0e10cSrcweir				</style:style>
127cdf0e10cSrcweir				<style:style style:name="Section4 Title" style:family="paragraph" style:next-style-name="Text body" style:master-page-name="">
128cdf0e10cSrcweir					<style:properties fo:line-height="200%" fo:text-transform="capitalize" fo:font-size="12pt"/>
129cdf0e10cSrcweir				</style:style>
130cdf0e10cSrcweir				<style:style style:name="Section5 Title" style:family="paragraph" style:next-style-name="Text body" style:master-page-name="">
131cdf0e10cSrcweir					<style:properties fo:line-height="200%" fo:text-transform="capitalize" fo:font-size="12pt"/>
132cdf0e10cSrcweir				</style:style>
133cdf0e10cSrcweir				<style:style style:name="Document Title" style:family="paragraph" style:parent-style-name="Standard" style:next-style-name="Document SubTitle">
134cdf0e10cSrcweir					<style:properties fo:text-align="center" style:justify-single-word="false" fo:font-size="20pt"/>
135cdf0e10cSrcweir				</style:style>
136cdf0e10cSrcweir				<style:style style:name="Document SubTitle" style:family="paragraph" style:parent-style-name="Document Title" style:next-style-name="Text body">
137cdf0e10cSrcweir					<style:properties fo:font-size="14pt"/>
138cdf0e10cSrcweir				</style:style>
139cdf0e10cSrcweir				<style:style style:name="Section SubTitle" style:family="paragraph" style:parent-style-name="Section Title"/>
140cdf0e10cSrcweir				<style:style style:name="CopyRight" style:family="paragraph" style:parent-style-name="Text body"/>
141cdf0e10cSrcweir				<style:style style:name="VarList Item" style:family="paragraph" style:parent-style-name="Text body" style:list-style-name="Var List" style:class="text">
142cdf0e10cSrcweir					<style:properties fo:margin-left="3cm" fo:margin-right="0cm" fo:text-indent="0cm" style:auto-text-indent="false">
143cdf0e10cSrcweir						<style:tab-stops>
144cdf0e10cSrcweir							<style:tab-stop style:position="0cm"/>
145cdf0e10cSrcweir						</style:tab-stops>
146cdf0e10cSrcweir					</style:properties>
147cdf0e10cSrcweir				</style:style>
148cdf0e10cSrcweir				<style:style style:name="VarList Term" style:family="paragraph" style:parent-style-name="Text body" style:list-style-name="Var List" style:class="text">
149cdf0e10cSrcweir					<style:properties fo:margin-left="1cm" fo:margin-right="0cm" fo:text-indent="-4.5cm" style:auto-text-indent="false">
150cdf0e10cSrcweir						<style:tab-stops>
151cdf0e10cSrcweir							<style:tab-stop style:position="0cm"/>
152cdf0e10cSrcweir						</style:tab-stops>
153cdf0e10cSrcweir					</style:properties>
154cdf0e10cSrcweir				</style:style>
155cdf0e10cSrcweir				<style:style style:name="Footnote Symbol" style:family="text"/>
156cdf0e10cSrcweir				<style:style style:name="Numbering Symbols" style:family="text"/>
157cdf0e10cSrcweir				<style:style style:name="Bullet Symbols" style:family="text">
158cdf0e10cSrcweir					<style:properties fo:font-size="9pt" style:font-size-asian="9pt" style:font-size-complex="9pt"/>
159cdf0e10cSrcweir				</style:style>
160cdf0e10cSrcweir				<style:style style:name="Internet link" style:family="text">
161cdf0e10cSrcweir					<style:properties fo:color="#000080" style:text-underline-color="font-color" style:text-underline="single"/>
162cdf0e10cSrcweir				</style:style>
163cdf0e10cSrcweir				<style:style style:name="Endnote Symbol" style:family="text"/>
164cdf0e10cSrcweir				<style:style style:name="Emphasis" style:family="text">
165cdf0e10cSrcweir					<style:properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic"/>
166cdf0e10cSrcweir				</style:style>
167cdf0e10cSrcweir				<style:style style:name="Source Text" style:family="text"/>
168cdf0e10cSrcweir				<style:style style:name="Highlight" style:family="text">
169cdf0e10cSrcweir					<style:properties style:text-background-color="#fff000"/>
170cdf0e10cSrcweir				</style:style>
171cdf0e10cSrcweir				<style:style style:name="KeyCap" style:family="text">
172cdf0e10cSrcweir					<style:properties fo:font-weight="bold"/>
173cdf0e10cSrcweir				</style:style>
174cdf0e10cSrcweir				<style:style style:name="Command" style:family="text">
175cdf0e10cSrcweir					<style:properties fo:font-weight="bold"/>
176cdf0e10cSrcweir				</style:style>
177cdf0e10cSrcweir				<style:style style:name="Application" style:family="text">
178cdf0e10cSrcweir					<style:properties fo:font-weight="bold"/>
179cdf0e10cSrcweir				</style:style>
180cdf0e10cSrcweir				<style:style style:name="FileName" style:family="text">
181cdf0e10cSrcweir					<style:properties fo:font-weight="bold"/>
182cdf0e10cSrcweir				</style:style>
183cdf0e10cSrcweir				<style:style style:name="SuperScript" style:family="text">
184cdf0e10cSrcweir					<style:properties style:text-position="super 58%"/>
185cdf0e10cSrcweir				</style:style>
186cdf0e10cSrcweir				<style:style style:name="SubScript" style:family="text">
187cdf0e10cSrcweir					<style:properties style:text-position="sub 58%"/>
188cdf0e10cSrcweir				</style:style>
189cdf0e10cSrcweir				<style:style style:name="SystemItem" style:family="text">
190cdf0e10cSrcweir					<style:properties fo:font-weight="bold"/>
191cdf0e10cSrcweir				</style:style>
192cdf0e10cSrcweir				<style:style style:name="ComputerOutput" style:family="text">
193cdf0e10cSrcweir					<style:properties fo:font-weight="bold"/>
194cdf0e10cSrcweir				</style:style>
195cdf0e10cSrcweir				<style:style style:name="KeyCombo" style:family="text">
196cdf0e10cSrcweir					<style:properties fo:font-weight="bold"/>
197cdf0e10cSrcweir				</style:style>
198cdf0e10cSrcweir				<style:style style:name="KeySym" style:family="text">
199cdf0e10cSrcweir					<style:properties fo:font-weight="bold"/>
200cdf0e10cSrcweir				</style:style>
201cdf0e10cSrcweir				<style:style style:name="GuiMenu" style:family="text">
202cdf0e10cSrcweir					<style:properties fo:color="#000fff" fo:font-style="italic"/>
203cdf0e10cSrcweir				</style:style>
204cdf0e10cSrcweir				<style:style style:name="GuiSubMenu" style:family="text">
205cdf0e10cSrcweir					<style:properties fo:color="#ff9966" fo:font-style="italic"/>
206cdf0e10cSrcweir				</style:style>
207cdf0e10cSrcweir				<style:style style:name="GuiButton" style:family="text">
208cdf0e10cSrcweir					<style:properties fo:color="#00f0ff" fo:font-style="italic"/>
209cdf0e10cSrcweir				</style:style>
210cdf0e10cSrcweir				<style:style style:name="GuiMenuItem" style:family="text">
211cdf0e10cSrcweir					<style:properties fo:color="#00ffff" fo:font-style="italic"/>
212cdf0e10cSrcweir				</style:style>
213cdf0e10cSrcweir				<style:style style:name="GuiLabel" style:family="text">
214cdf0e10cSrcweir					<style:properties fo:color="#00777f" fo:font-style="italic"/>
215cdf0e10cSrcweir				</style:style>
216cdf0e10cSrcweir				<style:style style:name="Frame" style:family="graphics">
217cdf0e10cSrcweir					<style:properties text:anchor-type="paragraph" svg:x="0cm" svg:y="0cm" fo:margin-left="0.201cm" fo:margin-right="0.201cm" fo:margin-top="0.201cm" fo:margin-bottom="0.201cm" style:wrap="parallel" style:number-wrapped-paragraphs="no-limit" style:wrap-contour="false" style:vertical-pos="top" style:vertical-rel="paragraph-content" style:horizontal-pos="center" style:horizontal-rel="paragraph-content" fo:padding="0.15cm" fo:border="0.002cm solid #000000"/>
218cdf0e10cSrcweir				</style:style>
219cdf0e10cSrcweir				<text:outline-style>
220cdf0e10cSrcweir					<text:outline-level-style text:level="1" style:num-format=""/>
221cdf0e10cSrcweir					<text:outline-level-style text:level="2" style:num-format=""/>
222cdf0e10cSrcweir					<text:outline-level-style text:level="3" style:num-format=""/>
223cdf0e10cSrcweir					<text:outline-level-style text:level="4" style:num-format=""/>
224cdf0e10cSrcweir					<text:outline-level-style text:level="5" style:num-format=""/>
225cdf0e10cSrcweir					<text:outline-level-style text:level="6" style:num-format=""/>
226cdf0e10cSrcweir					<text:outline-level-style text:level="7" style:num-format=""/>
227cdf0e10cSrcweir					<text:outline-level-style text:level="8" style:num-format=""/>
228cdf0e10cSrcweir					<text:outline-level-style text:level="9" style:num-format=""/>
229cdf0e10cSrcweir					<text:outline-level-style text:level="10" style:num-format=""/>
230cdf0e10cSrcweir				</text:outline-style>
231cdf0e10cSrcweir				<text:list-style style:name="Ordered List">
232cdf0e10cSrcweir					<text:list-level-style-number text:level="1" text:style-name="Numbering Symbols" style:num-suffix="." style:num-format="1">
233cdf0e10cSrcweir						<style:properties text:min-label-width="0.499cm"/>
234cdf0e10cSrcweir					</text:list-level-style-number>
235cdf0e10cSrcweir					<text:list-level-style-number text:level="2" style:num-suffix="." style:num-format="1">
236cdf0e10cSrcweir						<style:properties text:space-before="0.501cm" text:min-label-width="0.499cm"/>
237cdf0e10cSrcweir					</text:list-level-style-number>
238cdf0e10cSrcweir					<text:list-level-style-number text:level="3" style:num-suffix="." style:num-format="1">
239cdf0e10cSrcweir						<style:properties text:space-before="1cm" text:min-label-width="0.499cm"/>
240cdf0e10cSrcweir					</text:list-level-style-number>
241cdf0e10cSrcweir					<text:list-level-style-number text:level="4" style:num-suffix="." style:num-format="1">
242cdf0e10cSrcweir						<style:properties text:space-before="1.501cm" text:min-label-width="0.499cm"/>
243cdf0e10cSrcweir					</text:list-level-style-number>
244cdf0e10cSrcweir					<text:list-level-style-number text:level="5" style:num-suffix="." style:num-format="1">
245cdf0e10cSrcweir						<style:properties text:space-before="2cm" text:min-label-width="0.499cm"/>
246cdf0e10cSrcweir					</text:list-level-style-number>
247cdf0e10cSrcweir					<text:list-level-style-number text:level="6" style:num-suffix="." style:num-format="1">
248cdf0e10cSrcweir						<style:properties text:space-before="2.501cm" text:min-label-width="0.499cm"/>
249cdf0e10cSrcweir					</text:list-level-style-number>
250cdf0e10cSrcweir					<text:list-level-style-number text:level="7" style:num-suffix="." style:num-format="1">
251cdf0e10cSrcweir						<style:properties text:space-before="3.001cm" text:min-label-width="0.499cm"/>
252cdf0e10cSrcweir					</text:list-level-style-number>
253cdf0e10cSrcweir					<text:list-level-style-number text:level="8" style:num-suffix="." style:num-format="1">
254cdf0e10cSrcweir						<style:properties text:space-before="3.502cm" text:min-label-width="0.499cm"/>
255cdf0e10cSrcweir					</text:list-level-style-number>
256cdf0e10cSrcweir					<text:list-level-style-number text:level="9" style:num-suffix="." style:num-format="1">
257cdf0e10cSrcweir						<style:properties text:space-before="4.001cm" text:min-label-width="0.499cm"/>
258cdf0e10cSrcweir					</text:list-level-style-number>
259cdf0e10cSrcweir					<text:list-level-style-number text:level="10" style:num-suffix="." style:num-format="1">
260cdf0e10cSrcweir						<style:properties text:space-before="4.502cm" text:min-label-width="0.499cm"/>
261cdf0e10cSrcweir					</text:list-level-style-number>
262cdf0e10cSrcweir				</text:list-style>
263cdf0e10cSrcweir				<text:list-style style:name="UnOrdered List">
264cdf0e10cSrcweir					<text:list-level-style-bullet text:level="1" text:style-name="Bullet Symbols" text:bullet-char="•">
265cdf0e10cSrcweir						<style:properties text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
266cdf0e10cSrcweir					</text:list-level-style-bullet>
267cdf0e10cSrcweir					<text:list-level-style-bullet text:level="2" text:style-name="Bullet Symbols" text:bullet-char="•">
268cdf0e10cSrcweir						<style:properties text:space-before="0.501cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
269cdf0e10cSrcweir					</text:list-level-style-bullet>
270cdf0e10cSrcweir					<text:list-level-style-bullet text:level="3" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•">
271cdf0e10cSrcweir						<style:properties text:space-before="1cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
272cdf0e10cSrcweir					</text:list-level-style-bullet>
273cdf0e10cSrcweir					<text:list-level-style-bullet text:level="4" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•">
274cdf0e10cSrcweir						<style:properties text:space-before="1.501cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
275cdf0e10cSrcweir					</text:list-level-style-bullet>
276cdf0e10cSrcweir					<text:list-level-style-bullet text:level="5" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•">
277cdf0e10cSrcweir						<style:properties text:space-before="2cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
278cdf0e10cSrcweir					</text:list-level-style-bullet>
279cdf0e10cSrcweir					<text:list-level-style-bullet text:level="6" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•">
280cdf0e10cSrcweir						<style:properties text:space-before="2.501cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
281cdf0e10cSrcweir					</text:list-level-style-bullet>
282cdf0e10cSrcweir					<text:list-level-style-bullet text:level="7" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•">
283cdf0e10cSrcweir						<style:properties text:space-before="3.001cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
284cdf0e10cSrcweir					</text:list-level-style-bullet>
285cdf0e10cSrcweir					<text:list-level-style-bullet text:level="8" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•">
286cdf0e10cSrcweir						<style:properties text:space-before="3.502cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
287cdf0e10cSrcweir					</text:list-level-style-bullet>
288cdf0e10cSrcweir					<text:list-level-style-bullet text:level="9" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•">
289cdf0e10cSrcweir						<style:properties text:space-before="4.001cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
290cdf0e10cSrcweir					</text:list-level-style-bullet>
291cdf0e10cSrcweir					<text:list-level-style-bullet text:level="10" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•">
292cdf0e10cSrcweir						<style:properties text:space-before="4.502cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
293cdf0e10cSrcweir					</text:list-level-style-bullet>
294cdf0e10cSrcweir				</text:list-style>
295cdf0e10cSrcweir				<text:list-style style:name="Var List">
296cdf0e10cSrcweir					<text:list-level-style-bullet text:level="1" text:style-name="Bullet Symbols" text:bullet-char="•">
297cdf0e10cSrcweir						<style:properties text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
298cdf0e10cSrcweir					</text:list-level-style-bullet>
299cdf0e10cSrcweir					<text:list-level-style-bullet text:level="2" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•">
300cdf0e10cSrcweir						<style:properties text:space-before="0.501cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
301cdf0e10cSrcweir					</text:list-level-style-bullet>
302cdf0e10cSrcweir					<text:list-level-style-bullet text:level="3" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•">
303cdf0e10cSrcweir						<style:properties text:space-before="1cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
304cdf0e10cSrcweir					</text:list-level-style-bullet>
305cdf0e10cSrcweir					<text:list-level-style-bullet text:level="4" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•">
306cdf0e10cSrcweir						<style:properties text:space-before="1.501cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
307cdf0e10cSrcweir					</text:list-level-style-bullet>
308cdf0e10cSrcweir					<text:list-level-style-bullet text:level="5" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•">
309cdf0e10cSrcweir						<style:properties text:space-before="2cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
310cdf0e10cSrcweir					</text:list-level-style-bullet>
311cdf0e10cSrcweir					<text:list-level-style-bullet text:level="6" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•">
312cdf0e10cSrcweir						<style:properties text:space-before="2.501cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
313cdf0e10cSrcweir					</text:list-level-style-bullet>
314cdf0e10cSrcweir					<text:list-level-style-bullet text:level="7" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•">
315cdf0e10cSrcweir						<style:properties text:space-before="3.001cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
316cdf0e10cSrcweir					</text:list-level-style-bullet>
317cdf0e10cSrcweir					<text:list-level-style-bullet text:level="8" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•">
318cdf0e10cSrcweir						<style:properties text:space-before="3.502cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
319cdf0e10cSrcweir					</text:list-level-style-bullet>
320cdf0e10cSrcweir					<text:list-level-style-bullet text:level="9" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•">
321cdf0e10cSrcweir						<style:properties text:space-before="4.001cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
322cdf0e10cSrcweir					</text:list-level-style-bullet>
323cdf0e10cSrcweir					<text:list-level-style-bullet text:level="10" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•">
324cdf0e10cSrcweir						<style:properties text:space-before="4.502cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/>
325cdf0e10cSrcweir					</text:list-level-style-bullet>
326cdf0e10cSrcweir				</text:list-style>
327cdf0e10cSrcweir				<text:footnotes-configuration text:citation-style-name="Footnote Symbol" style:num-format="1" text:start-value="0" text:footnotes-position="page" text:start-numbering-at="page"/>
328cdf0e10cSrcweir				<text:endnotes-configuration text:citation-style-name="Endnote Symbol" text:master-page-name="Endnote" style:num-format="1" text:start-value="0"/>
329cdf0e10cSrcweir				<text:linenumbering-configuration text:number-lines="false" text:offset="0.499cm" style:num-format="1" text:number-position="left" text:increment="5"/>
330cdf0e10cSrcweir			</office:styles>
331cdf0e10cSrcweir			<office:automatic-styles>
332cdf0e10cSrcweir				<style:page-master style:name="pm1">
333cdf0e10cSrcweir					<style:properties fo:page-width="20.999cm" fo:page-height="29.699cm" style:num-format="1" style:print-orientation="portrait" fo:margin-top="2.54cm" fo:margin-bottom="2.54cm" fo:margin-left="3.175cm" fo:margin-right="3.175cm" style:writing-mode="lr-tb" style:footnote-max-height="0cm">
334cdf0e10cSrcweir						<style:footnote-sep style:width="0.018cm" style:distance-before-sep="0.101cm" style:distance-after-sep="0.101cm" style:adjustment="left" style:rel-width="25%" style:color="#000000"/>
335cdf0e10cSrcweir					</style:properties>
336cdf0e10cSrcweir					<style:header-style/>
337cdf0e10cSrcweir					<style:footer-style/>
338cdf0e10cSrcweir				</style:page-master>
339cdf0e10cSrcweir				<style:page-master style:name="pm2">
340cdf0e10cSrcweir					<style:properties fo:page-width="20.999cm" fo:page-height="29.699cm" style:num-format="1" style:print-orientation="portrait" fo:margin-top="2cm" fo:margin-bottom="2cm" fo:margin-left="2cm" fo:margin-right="2cm" style:writing-mode="lr-tb" style:footnote-max-height="0cm">
341cdf0e10cSrcweir						<style:footnote-sep style:adjustment="left" style:rel-width="25%" style:color="#000000"/>
342cdf0e10cSrcweir					</style:properties>
343cdf0e10cSrcweir					<style:header-style/>
344cdf0e10cSrcweir					<style:footer-style/>
345cdf0e10cSrcweir				</style:page-master>
346cdf0e10cSrcweir			</office:automatic-styles>
347cdf0e10cSrcweir			<office:master-styles>
348cdf0e10cSrcweir				<style:master-page style:name="Standard" style:page-master-name="pm1"/>
349cdf0e10cSrcweir				<style:master-page style:name="Endnote" style:page-master-name="pm2"/>
350cdf0e10cSrcweir			</office:master-styles>
351cdf0e10cSrcweir			<office:body>
352cdf0e10cSrcweir				<xsl:apply-templates/>
353cdf0e10cSrcweir			</office:body>
354cdf0e10cSrcweir		</xsl:element>
355cdf0e10cSrcweir	</xsl:template>
356cdf0e10cSrcweir
357cdf0e10cSrcweir	<xsl:template match="subtitle">
358cdf0e10cSrcweir		<xsl:choose>
359cdf0e10cSrcweir			<xsl:when test="parent::table">
360cdf0e10cSrcweir				<xsl:apply-templates/>
361cdf0e10cSrcweir			</xsl:when>
362cdf0e10cSrcweir			<xsl:when test="parent::informaltable">
363cdf0e10cSrcweir				<xsl:apply-templates/>
364cdf0e10cSrcweir			</xsl:when>
365cdf0e10cSrcweir			<xsl:otherwise>
366cdf0e10cSrcweir				<xsl:element name="text:p">
367cdf0e10cSrcweir					<xsl:attribute name="text:style-name">Section SubTitle</xsl:attribute>
368cdf0e10cSrcweir				</xsl:element>
369cdf0e10cSrcweir			</xsl:otherwise>
370cdf0e10cSrcweir		</xsl:choose>
371cdf0e10cSrcweir	</xsl:template>
372cdf0e10cSrcweir
373cdf0e10cSrcweir
374cdf0e10cSrcweir
375cdf0e10cSrcweir
376cdf0e10cSrcweir	<xsl:template match="title">
377cdf0e10cSrcweir		<xsl:choose>
378cdf0e10cSrcweir			<xsl:when test="parent::figure"></xsl:when>
379cdf0e10cSrcweir			<xsl:when test="parent::table"></xsl:when>
380cdf0e10cSrcweir			<xsl:when test="parent::sect1"></xsl:when>
381cdf0e10cSrcweir			<xsl:when test="parent::sect2"></xsl:when>
382cdf0e10cSrcweir			<xsl:when test="parent::sect3"></xsl:when>
383cdf0e10cSrcweir			<xsl:when test="parent::sect4"></xsl:when>
384cdf0e10cSrcweir			<xsl:when test="parent::sect5"></xsl:when>
385cdf0e10cSrcweir			<xsl:when test="parent::informaltable">
386cdf0e10cSrcweir				<xsl:apply-templates/>
387cdf0e10cSrcweir			</xsl:when>
388cdf0e10cSrcweir
389cdf0e10cSrcweir			<xsl:otherwise>
390cdf0e10cSrcweir				<xsl:element name="text:p">
391cdf0e10cSrcweir					<xsl:choose>
392cdf0e10cSrcweir
393cdf0e10cSrcweir						<xsl:when test="parent::appendix">
394cdf0e10cSrcweir							<xsl:attribute name="text:style-name">Appendix Title</xsl:attribute>
395cdf0e10cSrcweir						</xsl:when>
396cdf0e10cSrcweir					</xsl:choose>
397cdf0e10cSrcweir					<xsl:apply-templates/>
398cdf0e10cSrcweir				</xsl:element>
399cdf0e10cSrcweir			</xsl:otherwise>
400cdf0e10cSrcweir		</xsl:choose>
401cdf0e10cSrcweir	</xsl:template>
402cdf0e10cSrcweir
403cdf0e10cSrcweir	<xsl:template match="articleinfo">
404cdf0e10cSrcweir		<xsl:element name="text:section">
405cdf0e10cSrcweir			<xsl:attribute name="text:style-name">ArticleInfo</xsl:attribute>
406cdf0e10cSrcweir			<xsl:attribute name="text:name">ArticleInfo</xsl:attribute>
407cdf0e10cSrcweir			<xsl:if test="/article/articleinfo/title !=''">
408cdf0e10cSrcweir				<xsl:element name="text:p">
409cdf0e10cSrcweir					<xsl:attribute name="text:style-name">Document Title</xsl:attribute>
410cdf0e10cSrcweir					<xsl:value-of select="/article/articleinfo/title"/>
411cdf0e10cSrcweir				</xsl:element>
412cdf0e10cSrcweir				<xsl:if test="/article/articleinfo/subtitle !=''">
413cdf0e10cSrcweir					<xsl:element name="text:p">
414cdf0e10cSrcweir						<xsl:attribute name="text:style-name">Document SubTitle</xsl:attribute>
415cdf0e10cSrcweir						<xsl:value-of select="/article/articleinfo/subtitle"/>
416cdf0e10cSrcweir					</xsl:element>
417cdf0e10cSrcweir				</xsl:if>
418cdf0e10cSrcweir			</xsl:if>
419cdf0e10cSrcweir			<xsl:apply-templates/>
420cdf0e10cSrcweir		</xsl:element>
421cdf0e10cSrcweir
422cdf0e10cSrcweir	</xsl:template>
423cdf0e10cSrcweir
424cdf0e10cSrcweir	<xsl:template match="appendix">
425cdf0e10cSrcweir		<xsl:element name="text:section">
426cdf0e10cSrcweir			<xsl:attribute name="text:style-name">Appendix</xsl:attribute>
427cdf0e10cSrcweir			<xsl:attribute name="text:name">Appendix</xsl:attribute>
428cdf0e10cSrcweir			<xsl:apply-templates/>
429cdf0e10cSrcweir		</xsl:element>
430cdf0e10cSrcweir
431cdf0e10cSrcweir	</xsl:template>
432cdf0e10cSrcweir
433cdf0e10cSrcweir<!--
434cdf0e10cSrcweir<xsl:template match="author">
435cdf0e10cSrcweir	<xsl:apply-templates/>
436cdf0e10cSrcweir</xsl:template>
437cdf0e10cSrcweir
438cdf0e10cSrcweir<xsl:template match="firstname">
439cdf0e10cSrcweir	 <xsl:element name="text:variable-set">
440cdf0e10cSrcweir		 <xsl:attribute name="text:name">
441cdf0e10cSrcweir			<xsl:if test="ancestor::articleinfo/author">
442cdf0e10cSrcweir				<xsl:text disable-output-escaping="yes">articleinfo.author</xsl:text><xsl:value-of select="count(parent::author[preceding-sibling::author])"/><xsl:text disable-output-escaping="yes">.firstname</xsl:text><xsl:value-of select="count(preceding-sibling::firstname)"/>
443cdf0e10cSrcweir			</xsl:if>
444cdf0e10cSrcweir		</xsl:attribute>
445cdf0e10cSrcweir		<xsl:apply-templates/>
446cdf0e10cSrcweir	</xsl:element>
447cdf0e10cSrcweir
448cdf0e10cSrcweir</xsl:template>-->
449cdf0e10cSrcweir
450cdf0e10cSrcweir	<xsl:template match="articleinfo/title">
451cdf0e10cSrcweir	<!-- <xsl:element name="text:variable-decls">
452cdf0e10cSrcweir				<xsl:element name="text:variable-decl">
453cdf0e10cSrcweir					<xsl:attribute name="text:value-type">
454cdf0e10cSrcweir						<xsl:text>string</xsl:text>
455cdf0e10cSrcweir					 </xsl:attribute>
456cdf0e10cSrcweir				<xsl:attribute name="text:name">
457cdf0e10cSrcweir					<xsl:text disable-output-escaping="yes">articleinfo.title</xsl:text>
458cdf0e10cSrcweir					</xsl:attribute>
459cdf0e10cSrcweir				 </xsl:element>
460cdf0e10cSrcweir
461cdf0e10cSrcweir		</xsl:element>
462cdf0e10cSrcweir		<xsl:element name="text:p">
463cdf0e10cSrcweir	 <xsl:element name="text:variable-set">
464cdf0e10cSrcweir		<xsl:attribute name="text:value-type">
465cdf0e10cSrcweir						<xsl:text>string</xsl:text>
466cdf0e10cSrcweir					 </xsl:attribute>
467cdf0e10cSrcweir		 <xsl:attribute name="text:name">
468cdf0e10cSrcweir			<xsl:text disable-output-escaping="yes">articleinfo.title</xsl:text>
469cdf0e10cSrcweir		</xsl:attribute>
470cdf0e10cSrcweir		<xsl:apply-templates/>
471cdf0e10cSrcweir	</xsl:element>
472cdf0e10cSrcweir	</xsl:element>--></xsl:template>
473cdf0e10cSrcweir
474cdf0e10cSrcweir	<xsl:template match="articleinfo/subtitle">
475cdf0e10cSrcweir		<xsl:element name="text:variable-decls">
476cdf0e10cSrcweir			<xsl:element name="text:variable-decl">
477cdf0e10cSrcweir				<xsl:attribute name="text:value-type">
478cdf0e10cSrcweir					<xsl:text>string</xsl:text>
479cdf0e10cSrcweir				</xsl:attribute>
480cdf0e10cSrcweir				<xsl:attribute name="text:name">
481cdf0e10cSrcweir					<xsl:text disable-output-escaping="yes">articleinfo.subtitle</xsl:text>
482cdf0e10cSrcweir				</xsl:attribute>
483cdf0e10cSrcweir			</xsl:element>
484cdf0e10cSrcweir		</xsl:element>
485cdf0e10cSrcweir		<xsl:element name="text:p">
486cdf0e10cSrcweir			<xsl:element name="text:variable-set">
487cdf0e10cSrcweir				<xsl:attribute name="text:value-type">
488cdf0e10cSrcweir					<xsl:text>string</xsl:text>
489cdf0e10cSrcweir				</xsl:attribute>
490cdf0e10cSrcweir				<xsl:attribute name="text:name">
491cdf0e10cSrcweir					<xsl:text disable-output-escaping="yes">articleinfo.subtitle</xsl:text>
492cdf0e10cSrcweir				</xsl:attribute>
493cdf0e10cSrcweir				<xsl:apply-templates/>
494cdf0e10cSrcweir			</xsl:element>
495cdf0e10cSrcweir		</xsl:element>
496cdf0e10cSrcweir	</xsl:template>
497cdf0e10cSrcweir
498cdf0e10cSrcweir	<xsl:template match="articleinfo/edition">
499cdf0e10cSrcweir		<xsl:element name="text:variable-decls">
500cdf0e10cSrcweir			<xsl:element name="text:variable-decl">
501cdf0e10cSrcweir				<xsl:attribute name="text:value-type">
502cdf0e10cSrcweir					<xsl:text>string</xsl:text>
503cdf0e10cSrcweir				</xsl:attribute>
504cdf0e10cSrcweir				<xsl:attribute name="text:name">
505cdf0e10cSrcweir					<xsl:text disable-output-escaping="yes">articleinfo.edition</xsl:text>
506cdf0e10cSrcweir				</xsl:attribute>
507cdf0e10cSrcweir			</xsl:element>
508cdf0e10cSrcweir		</xsl:element>
509cdf0e10cSrcweir		<xsl:element name="text:p">
510cdf0e10cSrcweir			<xsl:element name="text:variable-set">
511cdf0e10cSrcweir				<xsl:attribute name="text:value-type">
512cdf0e10cSrcweir					<xsl:text>string</xsl:text>
513cdf0e10cSrcweir				</xsl:attribute>
514cdf0e10cSrcweir				<xsl:attribute name="text:name">
515cdf0e10cSrcweir					<xsl:text disable-output-escaping="yes">articleinfo.edition</xsl:text>
516cdf0e10cSrcweir				</xsl:attribute>
517cdf0e10cSrcweir				<xsl:apply-templates/>
518cdf0e10cSrcweir			</xsl:element>
519cdf0e10cSrcweir		</xsl:element>
520cdf0e10cSrcweir	</xsl:template>
521cdf0e10cSrcweir
522cdf0e10cSrcweir	<xsl:template match="articleinfo/releaseinfo">
523cdf0e10cSrcweir		<xsl:element name="text:variable-decls">
524cdf0e10cSrcweir			<xsl:element name="text:variable-decl">
525cdf0e10cSrcweir				<xsl:attribute name="text:value-type">
526cdf0e10cSrcweir					<xsl:text>string</xsl:text>
527cdf0e10cSrcweir				</xsl:attribute>
528cdf0e10cSrcweir				<xsl:attribute name="text:name">
529cdf0e10cSrcweir					<xsl:text disable-output-escaping="yes">articleinfo.releaseinfo_</xsl:text>
530cdf0e10cSrcweir					<xsl:value-of select="count(preceding-sibling::releaseinfo)"/>
531cdf0e10cSrcweir				</xsl:attribute>
532cdf0e10cSrcweir			</xsl:element>
533cdf0e10cSrcweir		</xsl:element>
534cdf0e10cSrcweir		<xsl:element name="text:p">
535cdf0e10cSrcweir			<xsl:element name="text:variable-set">
536cdf0e10cSrcweir				<xsl:attribute name="text:value-type">
537cdf0e10cSrcweir					<xsl:text>string</xsl:text>
538cdf0e10cSrcweir				</xsl:attribute>
539cdf0e10cSrcweir				<xsl:attribute name="text:name">
540cdf0e10cSrcweir					<xsl:text disable-output-escaping="yes">articleinfo.releaseinfo_</xsl:text>
541cdf0e10cSrcweir					<xsl:value-of select="count(preceding-sibling::releaseinfo)"/>
542cdf0e10cSrcweir				</xsl:attribute>
543cdf0e10cSrcweir				<xsl:apply-templates/>
544cdf0e10cSrcweir			</xsl:element>
545cdf0e10cSrcweir		</xsl:element>
546cdf0e10cSrcweir	</xsl:template>
547cdf0e10cSrcweir
548cdf0e10cSrcweir
549cdf0e10cSrcweir	<xsl:template match="author/firstname">
550cdf0e10cSrcweir		<xsl:element name="text:variable-decls">
551cdf0e10cSrcweir			<xsl:element name="text:variable-decl">
552cdf0e10cSrcweir				<xsl:attribute name="text:value-type">
553cdf0e10cSrcweir					<xsl:text>string</xsl:text>
554cdf0e10cSrcweir				</xsl:attribute>
555cdf0e10cSrcweir
556cdf0e10cSrcweir				<xsl:attribute name="text:name">
557cdf0e10cSrcweir					<xsl:if test="ancestor::articleinfo">
558cdf0e10cSrcweir						<xsl:text disable-output-escaping="yes">articleinfo.author_</xsl:text>
559cdf0e10cSrcweir						<xsl:value-of select="count(parent::author[preceding-sibling::author])"/>
560cdf0e10cSrcweir						<xsl:text disable-output-escaping="yes">.firstname_</xsl:text>
561cdf0e10cSrcweir						<xsl:value-of select="count(preceding-sibling::firstname)"/>
562cdf0e10cSrcweir					</xsl:if>
563cdf0e10cSrcweir				</xsl:attribute>
564cdf0e10cSrcweir			</xsl:element>
565cdf0e10cSrcweir		</xsl:element>
566cdf0e10cSrcweir		<xsl:element name="text:p">
567cdf0e10cSrcweir			<xsl:element name="text:variable-set">
568cdf0e10cSrcweir				<xsl:attribute name="text:value-type">
569cdf0e10cSrcweir					<xsl:text>string</xsl:text>
570cdf0e10cSrcweir				</xsl:attribute>
571cdf0e10cSrcweir				<xsl:attribute name="text:name">
572cdf0e10cSrcweir					<xsl:if test="ancestor::articleinfo">
573cdf0e10cSrcweir						<xsl:text disable-output-escaping="yes">articleinfo.author_</xsl:text>
574cdf0e10cSrcweir						<xsl:value-of select="count(parent::author[preceding-sibling::author])"/>
575cdf0e10cSrcweir						<xsl:text disable-output-escaping="yes">.firstname_</xsl:text>
576cdf0e10cSrcweir						<xsl:value-of select="count(preceding-sibling::firstname)"/>
577cdf0e10cSrcweir					</xsl:if>
578cdf0e10cSrcweir				</xsl:attribute>
579cdf0e10cSrcweir				<xsl:apply-templates/>
580cdf0e10cSrcweir			</xsl:element>
581cdf0e10cSrcweir		</xsl:element>
582cdf0e10cSrcweir	</xsl:template>
583cdf0e10cSrcweir
584cdf0e10cSrcweir
585cdf0e10cSrcweir
586cdf0e10cSrcweir	<xsl:template match="articleinfo/copyright/year">
587cdf0e10cSrcweir		<xsl:element name="text:variable-decls">
588cdf0e10cSrcweir			<xsl:element name="text:variable-decl">
589cdf0e10cSrcweir				<xsl:attribute name="text:value-type">
590cdf0e10cSrcweir					<xsl:text>string</xsl:text>
591cdf0e10cSrcweir				</xsl:attribute>
592cdf0e10cSrcweir
593cdf0e10cSrcweir				<xsl:attribute name="text:name">
594cdf0e10cSrcweir					<xsl:if test="ancestor::articleinfo/copyright">
595cdf0e10cSrcweir						<xsl:text disable-output-escaping="yes">articleinfo.copyright_</xsl:text>
596cdf0e10cSrcweir						<xsl:value-of select="count(parent::copyright[preceding-sibling::copyright])"/>
597cdf0e10cSrcweir						<xsl:text disable-output-escaping="yes">.year_</xsl:text>
598cdf0e10cSrcweir						<xsl:value-of select="count(preceding-sibling::year)"/>
599cdf0e10cSrcweir					</xsl:if>
600cdf0e10cSrcweir				</xsl:attribute>
601cdf0e10cSrcweir			</xsl:element>
602cdf0e10cSrcweir		</xsl:element>
603cdf0e10cSrcweir		<xsl:element name="text:p">
604cdf0e10cSrcweir			<xsl:element name="text:variable-set">
605cdf0e10cSrcweir				<xsl:attribute name="text:value-type">
606cdf0e10cSrcweir					<xsl:text>string</xsl:text>
607cdf0e10cSrcweir				</xsl:attribute>
608cdf0e10cSrcweir				<xsl:attribute name="text:name">
609cdf0e10cSrcweir					<xsl:if test="ancestor::articleinfo/copyright">
610cdf0e10cSrcweir						<xsl:text disable-output-escaping="yes">articleinfo.copyright_</xsl:text>
611cdf0e10cSrcweir						<xsl:value-of select="count(parent::copyright[preceding-sibling::copyright])"/>
612cdf0e10cSrcweir						<xsl:text disable-output-escaping="yes">.year_</xsl:text>
613cdf0e10cSrcweir						<xsl:value-of select="count(preceding-sibling::year)"/>
614cdf0e10cSrcweir					</xsl:if>
615cdf0e10cSrcweir				</xsl:attribute>
616cdf0e10cSrcweir				<xsl:apply-templates/>
617cdf0e10cSrcweir			</xsl:element>
618cdf0e10cSrcweir		</xsl:element>
619cdf0e10cSrcweir	</xsl:template>
620cdf0e10cSrcweir
621cdf0e10cSrcweir	<xsl:template match="authorgroup">
622cdf0e10cSrcweir		<xsl:apply-templates/>
623cdf0e10cSrcweir	</xsl:template>
624cdf0e10cSrcweir
625cdf0e10cSrcweir	<xsl:template match="articleinfo/copyright/holder">
626cdf0e10cSrcweir		<xsl:element name="text:variable-decls">
627cdf0e10cSrcweir			<xsl:element name="text:variable-decl">
628cdf0e10cSrcweir				<xsl:attribute name="text:value-type">
629cdf0e10cSrcweir					<xsl:text>string</xsl:text>
630cdf0e10cSrcweir				</xsl:attribute>
631cdf0e10cSrcweir
632cdf0e10cSrcweir				<xsl:attribute name="text:name">
633cdf0e10cSrcweir					<xsl:if test="ancestor::articleinfo/copyright">
634cdf0e10cSrcweir						<xsl:text disable-output-escaping="yes">articleinfo.copyright_</xsl:text>
635cdf0e10cSrcweir						<xsl:value-of select="count(parent::copyright[preceding-sibling::copyright])"/>
636cdf0e10cSrcweir						<xsl:text disable-output-escaping="yes">.holder_</xsl:text>
637cdf0e10cSrcweir						<xsl:value-of select="count(preceding-sibling::holder)"/>
638cdf0e10cSrcweir					</xsl:if>
639cdf0e10cSrcweir				</xsl:attribute>
640cdf0e10cSrcweir			</xsl:element>
641cdf0e10cSrcweir		</xsl:element>
642cdf0e10cSrcweir		<xsl:element name="text:p">
643cdf0e10cSrcweir			<xsl:element name="text:variable-set">
644cdf0e10cSrcweir				<xsl:attribute name="text:value-type">
645cdf0e10cSrcweir					<xsl:text>string</xsl:text>
646cdf0e10cSrcweir				</xsl:attribute>
647cdf0e10cSrcweir				<xsl:attribute name="text:name">
648cdf0e10cSrcweir					<xsl:if test="ancestor::articleinfo/copyright">
649cdf0e10cSrcweir						<xsl:text disable-output-escaping="yes">articleinfo.copyright_</xsl:text>
650cdf0e10cSrcweir						<xsl:value-of select="count(parent::copyright[preceding-sibling::copyright])"/>
651cdf0e10cSrcweir						<xsl:text disable-output-escaping="yes">.holder_</xsl:text>
652cdf0e10cSrcweir						<xsl:value-of select="count(preceding-sibling::holder)"/>
653cdf0e10cSrcweir					</xsl:if>
654cdf0e10cSrcweir				</xsl:attribute>
655cdf0e10cSrcweir				<xsl:apply-templates/>
656cdf0e10cSrcweir			</xsl:element>
657cdf0e10cSrcweir		</xsl:element>
658cdf0e10cSrcweir	</xsl:template>
659cdf0e10cSrcweir
660cdf0e10cSrcweir
661cdf0e10cSrcweir
662cdf0e10cSrcweir
663cdf0e10cSrcweir	<xsl:template name="affiliation">
664cdf0e10cSrcweir		<xsl:apply-templates/>
665cdf0e10cSrcweir	</xsl:template>
666cdf0e10cSrcweir
667cdf0e10cSrcweir	<xsl:template match="author/affiliation/address">
668cdf0e10cSrcweir		<xsl:element name="text:variable-decls">
669cdf0e10cSrcweir			<xsl:element name="text:variable-decl">
670cdf0e10cSrcweir				<xsl:attribute name="text:value-type">
671cdf0e10cSrcweir					<xsl:text>string</xsl:text>
672cdf0e10cSrcweir				</xsl:attribute>
673cdf0e10cSrcweir				<xsl:attribute name="text:name">
674cdf0e10cSrcweir					<xsl:text disable-output-escaping="yes">articleinfo.author_</xsl:text>
675cdf0e10cSrcweir					<xsl:value-of select="count(ancestor::author[preceding-sibling::author])"/>
676cdf0e10cSrcweir					<xsl:text disable-output-escaping="yes">.affiliation_</xsl:text>
677cdf0e10cSrcweir					<xsl:value-of select="count(parent::affiliation[preceding-sibling::affiliation])"/>
678cdf0e10cSrcweir					<xsl:text disable-output-escaping="yes">.address_</xsl:text>
679cdf0e10cSrcweir					<xsl:value-of select="count(preceding-sibling::address)"/>
680cdf0e10cSrcweir				</xsl:attribute>
681cdf0e10cSrcweir			</xsl:element>
682cdf0e10cSrcweir		</xsl:element>
683cdf0e10cSrcweir		<xsl:element name="text:p">
684cdf0e10cSrcweir			<xsl:element name="text:variable-set">
685cdf0e10cSrcweir				<xsl:attribute name="text:value-type">
686cdf0e10cSrcweir					<xsl:text>string</xsl:text>
687cdf0e10cSrcweir				</xsl:attribute>
688cdf0e10cSrcweir				<xsl:attribute name="text:name">
689cdf0e10cSrcweir					<xsl:text disable-output-escaping="yes">articleinfo.author_</xsl:text>
690cdf0e10cSrcweir					<xsl:value-of select="count(ancestor::author[preceding-sibling::author])"/>
691cdf0e10cSrcweir					<xsl:text disable-output-escaping="yes">.affiliation_</xsl:text>
692cdf0e10cSrcweir					<xsl:value-of select="count(parent::affiliation[preceding-sibling::affiliation])"/>
693cdf0e10cSrcweir					<xsl:text disable-output-escaping="yes">.address_</xsl:text>
694cdf0e10cSrcweir					<xsl:value-of select="count(preceding-sibling::address)"/>
695cdf0e10cSrcweir
696cdf0e10cSrcweir				</xsl:attribute>
697cdf0e10cSrcweir				<xsl:apply-templates/>
698cdf0e10cSrcweir			</xsl:element>
699cdf0e10cSrcweir		</xsl:element>
700cdf0e10cSrcweir	</xsl:template>
701cdf0e10cSrcweir
702cdf0e10cSrcweir	<xsl:template match="author/affiliation/orgname">
703cdf0e10cSrcweir		<xsl:element name="text:variable-decls">
704cdf0e10cSrcweir			<xsl:element name="text:variable-decl">
705cdf0e10cSrcweir				<xsl:attribute name="text:value-type">
706cdf0e10cSrcweir					<xsl:text>string</xsl:text>
707cdf0e10cSrcweir				</xsl:attribute>
708cdf0e10cSrcweir				<xsl:if test="ancestor::articleinfo">
709cdf0e10cSrcweir					<xsl:attribute name="text:name">
710cdf0e10cSrcweir						<xsl:text disable-output-escaping="yes">articleinfo.author_</xsl:text>
711cdf0e10cSrcweir						<xsl:value-of select="count(ancestor::author[preceding-sibling::author])"/>
712cdf0e10cSrcweir						<xsl:text disable-output-escaping="yes">.affiliation_</xsl:text>
713cdf0e10cSrcweir						<xsl:value-of select="count(parent::affiliation[preceding-sibling::affiliation])"/>
714cdf0e10cSrcweir						<xsl:text disable-output-escaping="yes">.orgname_</xsl:text>
715cdf0e10cSrcweir						<xsl:value-of select="count(preceding-sibling::orgname)"/>
716cdf0e10cSrcweir					</xsl:attribute>
717cdf0e10cSrcweir				</xsl:if>
718cdf0e10cSrcweir			</xsl:element>
719cdf0e10cSrcweir		</xsl:element>
720cdf0e10cSrcweir		<xsl:element name="text:p">
721cdf0e10cSrcweir			<xsl:element name="text:variable-set">
722cdf0e10cSrcweir				<xsl:attribute name="text:value-type">
723cdf0e10cSrcweir					<xsl:text>string</xsl:text>
724cdf0e10cSrcweir				</xsl:attribute>
725cdf0e10cSrcweir				<xsl:if test="ancestor::articleinfo">
726cdf0e10cSrcweir					<xsl:attribute name="text:name">
727cdf0e10cSrcweir						<xsl:text disable-output-escaping="yes">articleinfo.author_</xsl:text>
728cdf0e10cSrcweir						<xsl:value-of select="count(ancestor::author[preceding-sibling::author])"/>
729cdf0e10cSrcweir						<xsl:text disable-output-escaping="yes">.affiliation_</xsl:text>
730cdf0e10cSrcweir						<xsl:value-of select="count(parent::affiliation[preceding-sibling::affiliation])"/>
731cdf0e10cSrcweir						<xsl:text disable-output-escaping="yes">.orgname_</xsl:text>
732cdf0e10cSrcweir						<xsl:value-of select="count(preceding-sibling::orgname)"/>
733cdf0e10cSrcweir					</xsl:attribute>
734cdf0e10cSrcweir				</xsl:if>
735cdf0e10cSrcweir				<xsl:apply-templates/>
736cdf0e10cSrcweir			</xsl:element>
737cdf0e10cSrcweir		</xsl:element>
738cdf0e10cSrcweir	</xsl:template>
739cdf0e10cSrcweir
740cdf0e10cSrcweir
741cdf0e10cSrcweir
742cdf0e10cSrcweir	<xsl:template match="author/surname">
743cdf0e10cSrcweir		<xsl:element name="text:variable-decls">
744cdf0e10cSrcweir			<xsl:element name="text:variable-decl">
745cdf0e10cSrcweir				<xsl:attribute name="text:value-type">
746cdf0e10cSrcweir					<xsl:text>string</xsl:text>
747cdf0e10cSrcweir				</xsl:attribute>
748cdf0e10cSrcweir
749cdf0e10cSrcweir				<xsl:attribute name="text:name">
750cdf0e10cSrcweir					<xsl:text disable-output-escaping="yes">articleinfo.author_</xsl:text>
751cdf0e10cSrcweir					<xsl:value-of select="count(parent::author[preceding-sibling::author])"/>
752cdf0e10cSrcweir					<xsl:text disable-output-escaping="yes">.surname_</xsl:text>
753cdf0e10cSrcweir					<xsl:value-of select="count(preceding-sibling::surname)"/>
754cdf0e10cSrcweir				</xsl:attribute>
755cdf0e10cSrcweir			</xsl:element>
756cdf0e10cSrcweir		</xsl:element>
757cdf0e10cSrcweir		<xsl:element name="text:p">
758cdf0e10cSrcweir			<xsl:element name="text:variable-set">
759cdf0e10cSrcweir				<xsl:attribute name="text:value-type">
760cdf0e10cSrcweir					<xsl:text>string</xsl:text>
761cdf0e10cSrcweir				</xsl:attribute>
762cdf0e10cSrcweir				<xsl:attribute name="text:name">
763cdf0e10cSrcweir					<xsl:text disable-output-escaping="yes">articleinfo.author_</xsl:text>
764cdf0e10cSrcweir					<xsl:value-of select="count(parent::author[preceding-sibling::author])"/>
765cdf0e10cSrcweir					<xsl:text disable-output-escaping="yes">.surname_</xsl:text>
766cdf0e10cSrcweir					<xsl:value-of select="count(preceding-sibling::surname)"/>
767cdf0e10cSrcweir
768cdf0e10cSrcweir
769cdf0e10cSrcweir				</xsl:attribute>
770cdf0e10cSrcweir				<xsl:apply-templates/>
771cdf0e10cSrcweir			</xsl:element>
772cdf0e10cSrcweir		</xsl:element>
773cdf0e10cSrcweir	</xsl:template>
774cdf0e10cSrcweir
775cdf0e10cSrcweir
776cdf0e10cSrcweir
777cdf0e10cSrcweir
778cdf0e10cSrcweir
779cdf0e10cSrcweir	<xsl:template match="para">
780cdf0e10cSrcweir
781cdf0e10cSrcweir		<xsl:element name="text:p">
782cdf0e10cSrcweir
783cdf0e10cSrcweir			<xsl:choose>
784cdf0e10cSrcweir				<xsl:when test="ancestor-or-self::footnote">
785cdf0e10cSrcweir					<xsl:attribute name="text:style-name">Footnote</xsl:attribute>
786cdf0e10cSrcweir				</xsl:when>
787cdf0e10cSrcweir				<xsl:when test="ancestor-or-self::listitem">
788cdf0e10cSrcweir					<xsl:attribute name="text:style-name">VarList Item</xsl:attribute>
789cdf0e10cSrcweir				</xsl:when>
790cdf0e10cSrcweir				<xsl:when test="ancestor-or-self::informaltable">
791cdf0e10cSrcweir					<xsl:if test="ancestor-or-self::informaltable">
792cdf0e10cSrcweir						<xsl:attribute name="text:style-name">Table Contents</xsl:attribute>
793cdf0e10cSrcweir					</xsl:if>
794cdf0e10cSrcweir					<xsl:if test="ancestor-or-self::thead">
795cdf0e10cSrcweir						<xsl:attribute name="text:style-name">Table Heading</xsl:attribute>
796cdf0e10cSrcweir					</xsl:if>
797cdf0e10cSrcweir				</xsl:when>
798cdf0e10cSrcweir				<xsl:when test="ancestor-or-self::table">
799cdf0e10cSrcweir					<xsl:if test="ancestor-or-self::table">
800cdf0e10cSrcweir						<xsl:attribute name="text:style-name">Table Contents</xsl:attribute>
801cdf0e10cSrcweir					</xsl:if>
802cdf0e10cSrcweir					<xsl:if test="ancestor-or-self::thead">
803cdf0e10cSrcweir						<xsl:attribute name="text:style-name">Table Heading</xsl:attribute>
804cdf0e10cSrcweir					</xsl:if>
805cdf0e10cSrcweir				</xsl:when>
806cdf0e10cSrcweir				<xsl:otherwise>
807cdf0e10cSrcweir					<xsl:attribute name="text:style-name">Text body</xsl:attribute>
808cdf0e10cSrcweir				</xsl:otherwise>
809cdf0e10cSrcweir			</xsl:choose>
810cdf0e10cSrcweir
811cdf0e10cSrcweir			<xsl:apply-templates/>
812cdf0e10cSrcweir		</xsl:element>
813cdf0e10cSrcweir
814cdf0e10cSrcweir	</xsl:template>
815cdf0e10cSrcweir
816cdf0e10cSrcweir	<xsl:template match="section">
817cdf0e10cSrcweir		<xsl:element name="text:h">
818cdf0e10cSrcweir			<xsl:attribute name="text:level">
819cdf0e10cSrcweir				<xsl:value-of select="count(ancestor-or-self::section)"/>
820cdf0e10cSrcweir			</xsl:attribute>
821cdf0e10cSrcweir			<xsl:value-of select="child::title"/>
822cdf0e10cSrcweir		</xsl:element>
823cdf0e10cSrcweir		<xsl:apply-templates/>
824cdf0e10cSrcweir	</xsl:template>
825cdf0e10cSrcweir
826cdf0e10cSrcweir	<xsl:template match="abstract">
827cdf0e10cSrcweir		<xsl:element name="text:h">
828cdf0e10cSrcweir			<xsl:attribute name="text:level">1</xsl:attribute>
829cdf0e10cSrcweir			<xsl:text>abstract</xsl:text>
830cdf0e10cSrcweir		</xsl:element>
831cdf0e10cSrcweir		<xsl:apply-templates/>
832cdf0e10cSrcweir	</xsl:template>
833cdf0e10cSrcweir
834cdf0e10cSrcweir
835cdf0e10cSrcweir	<xsl:template match="appendix">
836cdf0e10cSrcweir		<xsl:element name="text:h">
837cdf0e10cSrcweir			<xsl:attribute name="text:level">1</xsl:attribute>
838cdf0e10cSrcweir			<xsl:text>appendix</xsl:text>
839cdf0e10cSrcweir		</xsl:element>
840cdf0e10cSrcweir		<xsl:apply-templates/>
841cdf0e10cSrcweir	</xsl:template>
842cdf0e10cSrcweir
843cdf0e10cSrcweir	<xsl:template match="sect1">
844cdf0e10cSrcweir		<xsl:element name="text:h">
845cdf0e10cSrcweir			<xsl:attribute name="text:level">1</xsl:attribute>
846cdf0e10cSrcweir			<xsl:attribute name="text:style-name">Heading 1</xsl:attribute>
847cdf0e10cSrcweir			<xsl:value-of select="child::title"/>
848cdf0e10cSrcweir		</xsl:element>
849cdf0e10cSrcweir		<xsl:apply-templates/>
850cdf0e10cSrcweir	</xsl:template>
851cdf0e10cSrcweir
852cdf0e10cSrcweir	<xsl:template match="sect2">
853cdf0e10cSrcweir		<xsl:element name="text:h">
854cdf0e10cSrcweir			<xsl:attribute name="text:level">2</xsl:attribute>
855cdf0e10cSrcweir			<xsl:attribute name="text:style-name">Heading 2</xsl:attribute>
856cdf0e10cSrcweir			<xsl:value-of select="child::title"/>
857cdf0e10cSrcweir		</xsl:element>
858cdf0e10cSrcweir		<xsl:apply-templates/>
859cdf0e10cSrcweir	</xsl:template>
860cdf0e10cSrcweir
861cdf0e10cSrcweir	<xsl:template match="sect3">
862cdf0e10cSrcweir		<xsl:element name="text:h">
863cdf0e10cSrcweir			<xsl:attribute name="text:level">3</xsl:attribute>
864cdf0e10cSrcweir			<xsl:attribute name="text:style-name">Heading 3</xsl:attribute>
865cdf0e10cSrcweir			<xsl:value-of select="child::title"/>
866cdf0e10cSrcweir		</xsl:element>
867cdf0e10cSrcweir		<xsl:apply-templates/>
868cdf0e10cSrcweir	</xsl:template>
869cdf0e10cSrcweir
870cdf0e10cSrcweir	<xsl:template match="sect4">
871cdf0e10cSrcweir		<xsl:element name="text:h">
872cdf0e10cSrcweir			<xsl:attribute name="text:level">4</xsl:attribute>
873cdf0e10cSrcweir			<xsl:attribute name="text:style-name">Heading 4</xsl:attribute>
874cdf0e10cSrcweir			<xsl:value-of select="child::title"/>
875cdf0e10cSrcweir		</xsl:element>
876cdf0e10cSrcweir		<xsl:apply-templates/>
877cdf0e10cSrcweir	</xsl:template>
878cdf0e10cSrcweir
879cdf0e10cSrcweir	<xsl:template match="sect5">
880cdf0e10cSrcweir		<xsl:element name="text:h">
881cdf0e10cSrcweir			<xsl:attribute name="text:level">5</xsl:attribute>
882cdf0e10cSrcweir			<xsl:value-of select="child::title"/>
883cdf0e10cSrcweir		</xsl:element>
884cdf0e10cSrcweir		<xsl:apply-templates/>
885cdf0e10cSrcweir	</xsl:template>
886cdf0e10cSrcweir
887cdf0e10cSrcweir<!--<xsl:template match="sect5">
888cdf0e10cSrcweir	<xsl:element name="text:section">
889cdf0e10cSrcweir		<xsl:attribute name="text:style-name">Sect1</xsl:attribute>
890cdf0e10cSrcweir		<xsl:attribute name="text:name"><xsl:value-of select="@id"/></xsl:attribute>
891cdf0e10cSrcweir		<xsl:apply-templates/>
892cdf0e10cSrcweir	</xsl:element>
893cdf0e10cSrcweir</xsl:template>-->
894cdf0e10cSrcweir
895cdf0e10cSrcweir
896cdf0e10cSrcweir	<xsl:template match="informaltable">
897cdf0e10cSrcweir		<xsl:element name="table:table">
898cdf0e10cSrcweir			<xsl:attribute name="table:name"></xsl:attribute>
899cdf0e10cSrcweir			<xsl:attribute name="table:style-name">Table1</xsl:attribute>
900cdf0e10cSrcweir			<xsl:attribute name="table:name">
901cdf0e10cSrcweir				<xsl:value-of select="@id"/>
902cdf0e10cSrcweir			</xsl:attribute>
903cdf0e10cSrcweir			<xsl:apply-templates/>
904cdf0e10cSrcweir		</xsl:element>
905cdf0e10cSrcweir	</xsl:template>
906cdf0e10cSrcweir
907cdf0e10cSrcweir
908cdf0e10cSrcweir	<xsl:template match="table">
909cdf0e10cSrcweir		<xsl:variable name="tabletitle">
910cdf0e10cSrcweir			<xsl:value-of select="title"/>
911cdf0e10cSrcweir		</xsl:variable>
912cdf0e10cSrcweir		<xsl:element name="table:table">
913cdf0e10cSrcweir			<xsl:attribute name="table:name"></xsl:attribute>
914cdf0e10cSrcweir			<xsl:attribute name="table:style-name">Table1</xsl:attribute>
915cdf0e10cSrcweir			<xsl:attribute name="table:name">
916cdf0e10cSrcweir				<xsl:value-of select="@id"/>
917cdf0e10cSrcweir			</xsl:attribute>
918cdf0e10cSrcweir			<xsl:apply-templates/>
919cdf0e10cSrcweir		</xsl:element>
920cdf0e10cSrcweir		<xsl:if test="not($tabletitle='')">
921cdf0e10cSrcweir			<xsl:element name="text:p">
922cdf0e10cSrcweir				<xsl:attribute name="text:style-name">Table</xsl:attribute>
923cdf0e10cSrcweir				<xsl:value-of select="$tabletitle"/>
924cdf0e10cSrcweir			</xsl:element>
925cdf0e10cSrcweir		</xsl:if>
926cdf0e10cSrcweir	</xsl:template>
927cdf0e10cSrcweir
928cdf0e10cSrcweir	<xsl:template match="tgroup">
929cdf0e10cSrcweir		<xsl:element name="table:table-column">
930cdf0e10cSrcweir			<xsl:attribute name="table:style-name">Table1.A</xsl:attribute>
931cdf0e10cSrcweir			<xsl:choose>
932cdf0e10cSrcweir				<xsl:when test="@cols >0">
933cdf0e10cSrcweir					<xsl:attribute name="table:number-columns-repeated">
934cdf0e10cSrcweir						<xsl:value-of select="@cols"/>
935cdf0e10cSrcweir					</xsl:attribute>
936cdf0e10cSrcweir				</xsl:when>
937cdf0e10cSrcweir				<xsl:otherwise>
938cdf0e10cSrcweir					<xsl:attribute name="table:number-columns-repeated">
939cdf0e10cSrcweir						<xsl:value-of select="count(child::tbody/row/entry) div count(child::tbody/row)"/>
940cdf0e10cSrcweir					</xsl:attribute>
941cdf0e10cSrcweir				</xsl:otherwise>
942cdf0e10cSrcweir			</xsl:choose>
943cdf0e10cSrcweir		</xsl:element>
944cdf0e10cSrcweir		<xsl:apply-templates/>
945cdf0e10cSrcweir	</xsl:template>
946cdf0e10cSrcweir
947cdf0e10cSrcweir
948cdf0e10cSrcweir	<xsl:template match="indexterm"></xsl:template>
949cdf0e10cSrcweir
950cdf0e10cSrcweir	<xsl:template match="thead">
951cdf0e10cSrcweir		<xsl:element name="table:table-header-rows">
952cdf0e10cSrcweir			<xsl:apply-templates/>
953cdf0e10cSrcweir		</xsl:element>
954cdf0e10cSrcweir	</xsl:template>
955cdf0e10cSrcweir
956cdf0e10cSrcweir	<xsl:template match="tbody">
957cdf0e10cSrcweir		<xsl:apply-templates/>
958cdf0e10cSrcweir	</xsl:template>
959cdf0e10cSrcweir
960cdf0e10cSrcweir	<xsl:template match="row">
961cdf0e10cSrcweir		<xsl:element name="table:table-row">
962cdf0e10cSrcweir			<xsl:apply-templates/>
963cdf0e10cSrcweir		</xsl:element>
964cdf0e10cSrcweir	</xsl:template>
965cdf0e10cSrcweir
966cdf0e10cSrcweir	<xsl:template match="entry">
967cdf0e10cSrcweir		<xsl:element name="table:table-cell">
968cdf0e10cSrcweir			<xsl:if test="ancestor-or-self::thead">
969cdf0e10cSrcweir				<xsl:attribute name="table:style-name">Table1.A1</xsl:attribute>
970cdf0e10cSrcweir			</xsl:if>
971cdf0e10cSrcweir			<xsl:if test="not(ancestor-or-self::thead)">
972cdf0e10cSrcweir				<xsl:attribute name="table:style-name">Table1.A2</xsl:attribute>
973cdf0e10cSrcweir			</xsl:if>
974cdf0e10cSrcweir
975cdf0e10cSrcweir			<xsl:choose>
976cdf0e10cSrcweir				<xsl:when test="@spanname">
977cdf0e10cSrcweir		<!--<xsl:if test="@spanname">-->
978cdf0e10cSrcweir					<xsl:variable name="sname">
979cdf0e10cSrcweir						<xsl:value-of select="@spanname"/>
980cdf0e10cSrcweir					</xsl:variable>
981cdf0e10cSrcweir					<xsl:attribute name="table:number-columns-spanned">
982cdf0e10cSrcweir						<xsl:variable name="colnamestart">
983cdf0e10cSrcweir							<xsl:value-of select="ancestor::tgroup/spanspec[@spanname=$sname]/@namest"/>
984cdf0e10cSrcweir						</xsl:variable>
985cdf0e10cSrcweir						<xsl:variable name="colnameend">
986cdf0e10cSrcweir							<xsl:value-of select="ancestor::tgroup/spanspec[@spanname=$sname]/@nameend"/>
987cdf0e10cSrcweir						</xsl:variable>
988cdf0e10cSrcweir						<xsl:variable name="colnumstart">
989cdf0e10cSrcweir							<xsl:value-of select="ancestor::tgroup/colspec[@colname=$colnamestart]/@colnum"/>
990cdf0e10cSrcweir						</xsl:variable>
991cdf0e10cSrcweir						<xsl:variable name="colnumend">
992cdf0e10cSrcweir							<xsl:value-of select="ancestor::tgroup/colspec[@colname=$colnameend]/@colnum"/>
993cdf0e10cSrcweir						</xsl:variable>
994cdf0e10cSrcweir						<xsl:value-of select="$colnumend - $colnumstart + 1"/>
995cdf0e10cSrcweir					</xsl:attribute>
996cdf0e10cSrcweir				</xsl:when>
997cdf0e10cSrcweir				<xsl:when test="@namest and @nameend">
998cdf0e10cSrcweir		<!--<xsl:if test="@namest and @nameend">-->
999cdf0e10cSrcweir					<xsl:variable name="colnamestart">
1000cdf0e10cSrcweir						<xsl:value-of select="@namest"/>
1001cdf0e10cSrcweir					</xsl:variable>
1002cdf0e10cSrcweir					<xsl:variable name="colnameend">
1003cdf0e10cSrcweir						<xsl:value-of select="@nameend"/>
1004cdf0e10cSrcweir					</xsl:variable>
1005cdf0e10cSrcweir
1006cdf0e10cSrcweir					<xsl:attribute name="table:number-columns-spanned">
1007cdf0e10cSrcweir						<xsl:variable name="colnumstart">
1008cdf0e10cSrcweir							<xsl:value-of select="ancestor::tgroup/colspec[@colname=$colnamestart]/@colnum"/>
1009cdf0e10cSrcweir						</xsl:variable>
1010cdf0e10cSrcweir						<xsl:variable name="colnumend">
1011cdf0e10cSrcweir							<xsl:value-of select="ancestor::tgroup/colspec[@colname=$colnameend]/@colnum"/>
1012cdf0e10cSrcweir						</xsl:variable>
1013cdf0e10cSrcweir						<xsl:value-of select="$colnumend - $colnumstart + 1"/>
1014cdf0e10cSrcweir
1015cdf0e10cSrcweir					</xsl:attribute>
1016cdf0e10cSrcweir				</xsl:when>
1017cdf0e10cSrcweir			</xsl:choose>
1018cdf0e10cSrcweir		<!--
1019cdf0e10cSrcweir		<xsl:if test="not(@namest = '' ) ">
1020cdf0e10cSrcweir			 <xsl:attribute name="table:number-columns-spanned">
1021cdf0e10cSrcweir				 <xsl:value-of select="(substring-after(@nameend,'c')-substring-after(@namest,'c'))+1"/>
1022cdf0e10cSrcweir
1023cdf0e10cSrcweir			 </xsl:attribute>
1024cdf0e10cSrcweir		</xsl:if>
1025cdf0e10cSrcweir		-->
1026cdf0e10cSrcweir			<xsl:choose>
1027cdf0e10cSrcweir				<xsl:when test="not(child::para)">
1028cdf0e10cSrcweir					<xsl:element name="text:p">
1029cdf0e10cSrcweir						<xsl:if test="ancestor-or-self::thead">
1030cdf0e10cSrcweir							<xsl:attribute name="text:style-name">Table Heading</xsl:attribute>
1031cdf0e10cSrcweir						</xsl:if>
1032cdf0e10cSrcweir						<xsl:if test="ancestor-or-self::tbody">
1033cdf0e10cSrcweir							<xsl:attribute name="text:style-name">Table Contents</xsl:attribute>
1034cdf0e10cSrcweir						</xsl:if>
1035cdf0e10cSrcweir						<xsl:apply-templates/>
1036cdf0e10cSrcweir					</xsl:element>
1037cdf0e10cSrcweir				</xsl:when>
1038cdf0e10cSrcweir				<xsl:otherwise>
1039cdf0e10cSrcweir					<xsl:apply-templates/>
1040cdf0e10cSrcweir				</xsl:otherwise>
1041cdf0e10cSrcweir			</xsl:choose>
1042cdf0e10cSrcweir		</xsl:element>
1043cdf0e10cSrcweir	</xsl:template>
1044cdf0e10cSrcweir
1045cdf0e10cSrcweir
1046cdf0e10cSrcweir
1047cdf0e10cSrcweir
1048cdf0e10cSrcweir
1049cdf0e10cSrcweir
1050cdf0e10cSrcweir	<xsl:template match="figure">
1051cdf0e10cSrcweir		<xsl:apply-templates/>
1052cdf0e10cSrcweir	</xsl:template>
1053cdf0e10cSrcweir
1054cdf0e10cSrcweir<!--  lists Section -->
1055cdf0e10cSrcweir
1056cdf0e10cSrcweir	<xsl:template match="itemizedlist">
1057cdf0e10cSrcweir		<xsl:element name="text:unordered-list">
1058cdf0e10cSrcweir			<xsl:if test="not(ancestor::itemizedlist)">
1059cdf0e10cSrcweir				<xsl:attribute name="text:style-name">L1</xsl:attribute>
1060cdf0e10cSrcweir			</xsl:if>
1061cdf0e10cSrcweir			<xsl:apply-templates/>
1062cdf0e10cSrcweir		</xsl:element>
1063cdf0e10cSrcweir	</xsl:template>
1064cdf0e10cSrcweir
1065cdf0e10cSrcweir	<xsl:template match="variablelist">
1066cdf0e10cSrcweir		<xsl:element name="text:unordered-list">
1067cdf0e10cSrcweir			<xsl:attribute name="text:style-name">Var List</xsl:attribute>
1068cdf0e10cSrcweir			<xsl:attribute name="text:continue-numbering">false</xsl:attribute>
1069cdf0e10cSrcweir			<xsl:apply-templates/>
1070cdf0e10cSrcweir		</xsl:element>
1071cdf0e10cSrcweir	</xsl:template>
1072cdf0e10cSrcweir
1073cdf0e10cSrcweir	<xsl:template match="orderedlist">
1074cdf0e10cSrcweir		<xsl:element name="text:ordered-list">
1075cdf0e10cSrcweir			<xsl:attribute name="text:style-name">Ordered List</xsl:attribute>
1076cdf0e10cSrcweir			<xsl:attribute name="text:continue-numbering">false</xsl:attribute>
1077cdf0e10cSrcweir			<xsl:apply-templates/>
1078cdf0e10cSrcweir		</xsl:element>
1079cdf0e10cSrcweir	</xsl:template>
1080cdf0e10cSrcweir
1081cdf0e10cSrcweir	<xsl:template match="term">
1082cdf0e10cSrcweir		<xsl:if test="parent::varlistentry">
1083cdf0e10cSrcweir			<text:list-item>
1084cdf0e10cSrcweir				<xsl:element name="text:p">
1085cdf0e10cSrcweir					<xsl:attribute name="text:style-name">VarList Term</xsl:attribute>
1086cdf0e10cSrcweir					<xsl:apply-templates/>
1087cdf0e10cSrcweir				</xsl:element>
1088cdf0e10cSrcweir			</text:list-item>
1089cdf0e10cSrcweir		</xsl:if>
1090cdf0e10cSrcweir	</xsl:template>
1091cdf0e10cSrcweir
1092cdf0e10cSrcweir	<xsl:template match="listitem">
1093cdf0e10cSrcweir		<text:list-item>
1094cdf0e10cSrcweir			<xsl:apply-templates/>
1095cdf0e10cSrcweir		</text:list-item>
1096cdf0e10cSrcweir	</xsl:template>
1097cdf0e10cSrcweir
1098cdf0e10cSrcweir<!--  end of lists-->
1099cdf0e10cSrcweir
1100cdf0e10cSrcweir	<xsl:template match="menuchoice">
1101cdf0e10cSrcweir		<xsl:apply-templates/>
1102cdf0e10cSrcweir	</xsl:template>
1103cdf0e10cSrcweir
1104cdf0e10cSrcweir	<xsl:template match="guimenuitem">
1105cdf0e10cSrcweir		<xsl:element name="text:span">
1106cdf0e10cSrcweir			<xsl:attribute name="text:style-name">GuiMenuItem</xsl:attribute>
1107cdf0e10cSrcweir			<xsl:apply-templates/>
1108cdf0e10cSrcweir		</xsl:element>
1109cdf0e10cSrcweir	</xsl:template>
1110cdf0e10cSrcweir
1111cdf0e10cSrcweir	<xsl:template match="guibutton">
1112cdf0e10cSrcweir		<xsl:element name="text:span">
1113cdf0e10cSrcweir			<xsl:attribute name="text:style-name">GuiButton</xsl:attribute>
1114cdf0e10cSrcweir			<xsl:apply-templates/>
1115cdf0e10cSrcweir		</xsl:element>
1116cdf0e10cSrcweir	</xsl:template>
1117cdf0e10cSrcweir
1118cdf0e10cSrcweir	<xsl:template match="guisubmenu">
1119cdf0e10cSrcweir		<xsl:element name="text:span">
1120cdf0e10cSrcweir			<xsl:attribute name="text:style-name">GuiSubMenu</xsl:attribute>
1121cdf0e10cSrcweir			<xsl:apply-templates/>
1122cdf0e10cSrcweir		</xsl:element>
1123cdf0e10cSrcweir	</xsl:template>
1124cdf0e10cSrcweir
1125cdf0e10cSrcweir	<xsl:template match="emphasis">
1126cdf0e10cSrcweir		<xsl:element name="text:span">
1127cdf0e10cSrcweir			<xsl:attribute name="text:style-name">Emphasis</xsl:attribute>
1128cdf0e10cSrcweir			<xsl:apply-templates/>
1129cdf0e10cSrcweir		</xsl:element>
1130cdf0e10cSrcweir	</xsl:template>
1131cdf0e10cSrcweir
1132cdf0e10cSrcweir
1133cdf0e10cSrcweir	<xsl:template match="guimenu">
1134cdf0e10cSrcweir		<xsl:element name="text:span">
1135cdf0e10cSrcweir			<xsl:attribute name="text:style-name">GuiMenu</xsl:attribute>
1136cdf0e10cSrcweir			<xsl:apply-templates/>
1137cdf0e10cSrcweir		</xsl:element>
1138cdf0e10cSrcweir	</xsl:template>
1139cdf0e10cSrcweir
1140cdf0e10cSrcweir	<xsl:template match="guisubmenu">
1141cdf0e10cSrcweir		<xsl:element name="text:span">
1142cdf0e10cSrcweir			<xsl:attribute name="text:style-name">GuiSubMenu</xsl:attribute>
1143cdf0e10cSrcweir			<xsl:apply-templates/>
1144cdf0e10cSrcweir		</xsl:element>
1145cdf0e10cSrcweir	</xsl:template>
1146cdf0e10cSrcweir
1147cdf0e10cSrcweir
1148cdf0e10cSrcweir	<xsl:template match="guilabel">
1149cdf0e10cSrcweir		<xsl:element name="text:span">
1150cdf0e10cSrcweir			<xsl:attribute name="text:style-name">GuiLabel</xsl:attribute>
1151cdf0e10cSrcweir			<xsl:apply-templates/>
1152cdf0e10cSrcweir		</xsl:element>
1153cdf0e10cSrcweir	</xsl:template>
1154cdf0e10cSrcweir
1155cdf0e10cSrcweir	<xsl:template match="guibutton">
1156cdf0e10cSrcweir		<xsl:element name="text:span">
1157cdf0e10cSrcweir			<xsl:attribute name="text:style-name">GuiButton</xsl:attribute>
1158cdf0e10cSrcweir			<xsl:apply-templates/>
1159cdf0e10cSrcweir		</xsl:element>
1160cdf0e10cSrcweir	</xsl:template>
1161cdf0e10cSrcweir
1162cdf0e10cSrcweir	<xsl:template match="keycap">
1163cdf0e10cSrcweir		<xsl:element name="text:span">
1164cdf0e10cSrcweir			<xsl:attribute name="text:style-name">KeyCap</xsl:attribute>
1165cdf0e10cSrcweir			<xsl:apply-templates/>
1166cdf0e10cSrcweir		</xsl:element>
1167cdf0e10cSrcweir	</xsl:template>
1168cdf0e10cSrcweir
1169cdf0e10cSrcweir
1170cdf0e10cSrcweir	<xsl:template match="keysym">
1171cdf0e10cSrcweir		<xsl:element name="text:span">
1172cdf0e10cSrcweir			<xsl:attribute name="text:style-name">KeySym</xsl:attribute>
1173cdf0e10cSrcweir			<xsl:apply-templates/>
1174cdf0e10cSrcweir		</xsl:element>
1175cdf0e10cSrcweir	</xsl:template>
1176cdf0e10cSrcweir
1177cdf0e10cSrcweir
1178cdf0e10cSrcweir	<xsl:template match="keycombo">
1179cdf0e10cSrcweir		<xsl:element name="text:span">
1180cdf0e10cSrcweir			<xsl:attribute name="text:style-name">KeyCombo</xsl:attribute>
1181cdf0e10cSrcweir			<xsl:apply-templates/>
1182cdf0e10cSrcweir		</xsl:element>
1183cdf0e10cSrcweir	</xsl:template>
1184cdf0e10cSrcweir
1185cdf0e10cSrcweir	<xsl:template match="command">
1186cdf0e10cSrcweir		<xsl:element name="text:span">
1187cdf0e10cSrcweir			<xsl:attribute name="text:style-name">Command</xsl:attribute>
1188cdf0e10cSrcweir			<xsl:apply-templates/>
1189cdf0e10cSrcweir		</xsl:element>
1190cdf0e10cSrcweir	</xsl:template>
1191cdf0e10cSrcweir
1192cdf0e10cSrcweir	<xsl:template match="application">
1193cdf0e10cSrcweir		<xsl:element name="text:span">
1194cdf0e10cSrcweir			<xsl:attribute name="text:style-name">Application</xsl:attribute>
1195cdf0e10cSrcweir			<xsl:apply-templates/>
1196cdf0e10cSrcweir		</xsl:element>
1197cdf0e10cSrcweir	</xsl:template>
1198cdf0e10cSrcweir
1199cdf0e10cSrcweir	<xsl:template match="filename">
1200cdf0e10cSrcweir		<xsl:element name="text:span">
1201cdf0e10cSrcweir			<xsl:attribute name="text:style-name">FileName</xsl:attribute>
1202cdf0e10cSrcweir			<xsl:apply-templates/>
1203cdf0e10cSrcweir		</xsl:element>
1204cdf0e10cSrcweir	</xsl:template>
1205cdf0e10cSrcweir
1206cdf0e10cSrcweir	<xsl:template match="systemitem">
1207cdf0e10cSrcweir		<xsl:element name="text:span">
1208cdf0e10cSrcweir			<xsl:attribute name="text:style-name">SystemItem</xsl:attribute>
1209cdf0e10cSrcweir			<xsl:apply-templates/>
1210cdf0e10cSrcweir		</xsl:element>
1211cdf0e10cSrcweir	</xsl:template>
1212cdf0e10cSrcweir
1213cdf0e10cSrcweir	<xsl:template match="computeroutput">
1214cdf0e10cSrcweir		<xsl:element name="text:span">
1215cdf0e10cSrcweir			<xsl:attribute name="text:style-name">ComputerOutput</xsl:attribute>
1216cdf0e10cSrcweir			<xsl:apply-templates/>
1217cdf0e10cSrcweir		</xsl:element>
1218cdf0e10cSrcweir	</xsl:template>
1219cdf0e10cSrcweir
1220cdf0e10cSrcweir	<xsl:template match="inlinegraphic">
1221cdf0e10cSrcweir		<xsl:element name="draw:image">
1222cdf0e10cSrcweir			<xsl:attribute name="draw:style-name">fr1</xsl:attribute>
1223cdf0e10cSrcweir			<xsl:attribute name="draw:name"></xsl:attribute>
1224cdf0e10cSrcweir			<xsl:attribute name="text:anchor-type"></xsl:attribute>
1225cdf0e10cSrcweir			<xsl:attribute name="draw:z-index"></xsl:attribute>
1226cdf0e10cSrcweir			<xsl:attribute name="xlink:href">
1227cdf0e10cSrcweir				<xsl:value-of select="@fileref"/>
1228cdf0e10cSrcweir			</xsl:attribute>
1229cdf0e10cSrcweir			<xsl:attribute name="xlink:type"></xsl:attribute>
1230cdf0e10cSrcweir			<xsl:attribute name="svg:width">
1231cdf0e10cSrcweir			<!--<xsl:value-of select="@width"/>-->
1232cdf0e10cSrcweir				<xsl:text>1cm</xsl:text>
1233cdf0e10cSrcweir			</xsl:attribute>
1234cdf0e10cSrcweir			<xsl:attribute name="svg:height">
1235cdf0e10cSrcweir				<xsl:text>1cm</xsl:text>
1236cdf0e10cSrcweir			</xsl:attribute>
1237cdf0e10cSrcweir			<xsl:attribute name="xlink:show">
1238cdf0e10cSrcweir				<xsl:text>embed</xsl:text>
1239cdf0e10cSrcweir			</xsl:attribute>
1240cdf0e10cSrcweir			<xsl:attribute name="xlink:actuate">
1241cdf0e10cSrcweir				<xsl:text>onLoad</xsl:text>
1242cdf0e10cSrcweir			</xsl:attribute>
1243cdf0e10cSrcweir			<xsl:attribute name="draw:filter-name">
1244cdf0e10cSrcweir				<xsl:text disable-output-escaping="yes">&lt;All formats&gt;</xsl:text>
1245cdf0e10cSrcweir			</xsl:attribute>
1246cdf0e10cSrcweir		</xsl:element>
1247cdf0e10cSrcweir	</xsl:template>
1248cdf0e10cSrcweir
1249cdf0e10cSrcweir
1250cdf0e10cSrcweir	<xsl:template match="footnote">
1251cdf0e10cSrcweir		<xsl:element name="text:footnote">
1252cdf0e10cSrcweir		<!--<xsl:element name="text:footnote-citation">Aidan</xsl:element>-->
1253cdf0e10cSrcweir			<xsl:element name="text:footnote-body">
1254cdf0e10cSrcweir				<xsl:apply-templates/>
1255cdf0e10cSrcweir			</xsl:element>
1256cdf0e10cSrcweir		</xsl:element>
1257cdf0e10cSrcweir	</xsl:template>
1258cdf0e10cSrcweir
1259cdf0e10cSrcweir	<xsl:template match="highlight">
1260cdf0e10cSrcweir		<xsl:element name="text:span">
1261cdf0e10cSrcweir			<xsl:attribute name="text:style-name">Highlight</xsl:attribute>
1262cdf0e10cSrcweir			<xsl:apply-templates/>
1263cdf0e10cSrcweir		</xsl:element>
1264cdf0e10cSrcweir	</xsl:template>
1265cdf0e10cSrcweir
1266cdf0e10cSrcweir	<xsl:template match="ulink">
1267cdf0e10cSrcweir		<xsl:element name="text:a">
1268cdf0e10cSrcweir			<xsl:attribute name="xlink:type">
1269cdf0e10cSrcweir				<xsl:text>simple</xsl:text>
1270cdf0e10cSrcweir			</xsl:attribute>
1271cdf0e10cSrcweir			<xsl:attribute name="xlink:href">
1272cdf0e10cSrcweir				<xsl:value-of select="@url"/>
1273cdf0e10cSrcweir			</xsl:attribute>
1274cdf0e10cSrcweir			<xsl:apply-templates/>
1275cdf0e10cSrcweir		</xsl:element>
1276cdf0e10cSrcweir
1277cdf0e10cSrcweir	</xsl:template>
1278cdf0e10cSrcweir
1279cdf0e10cSrcweir	<xsl:template match="link">
1280cdf0e10cSrcweir		<xsl:element name="text:a">
1281cdf0e10cSrcweir			<xsl:attribute name="xlink:type">
1282cdf0e10cSrcweir				<xsl:text>simple</xsl:text>
1283cdf0e10cSrcweir			</xsl:attribute>
1284cdf0e10cSrcweir			<xsl:attribute name="xlink:href">
1285cdf0e10cSrcweir				<xsl:text>#</xsl:text>
1286cdf0e10cSrcweir				<xsl:value-of select="@linkend"/>
1287cdf0e10cSrcweir				<xsl:text>%7Cregion</xsl:text>
1288cdf0e10cSrcweir			</xsl:attribute>
1289cdf0e10cSrcweir			<xsl:apply-templates/>
1290cdf0e10cSrcweir		</xsl:element>
1291cdf0e10cSrcweir
1292cdf0e10cSrcweir	</xsl:template>
1293cdf0e10cSrcweir
1294cdf0e10cSrcweir	<xsl:template match="olink">
1295cdf0e10cSrcweir		<xsl:element name="text:a">
1296cdf0e10cSrcweir			<xsl:attribute name="xlink:type">
1297cdf0e10cSrcweir				<xsl:text>simple</xsl:text>
1298cdf0e10cSrcweir			</xsl:attribute>
1299cdf0e10cSrcweir			<xsl:attribute name="xlink:href">
1300cdf0e10cSrcweir				<xsl:value-of select="@targetdocent"/>
1301cdf0e10cSrcweir			</xsl:attribute>
1302cdf0e10cSrcweir			<xsl:apply-templates/>
1303cdf0e10cSrcweir		</xsl:element>
1304cdf0e10cSrcweir	</xsl:template>
1305cdf0e10cSrcweir
1306cdf0e10cSrcweir	<xsl:template match="note">
1307cdf0e10cSrcweir		<office:annotation>
1308cdf0e10cSrcweir			<text:p>
1309cdf0e10cSrcweir				<xsl:apply-templates/>
1310cdf0e10cSrcweir			</text:p>
1311cdf0e10cSrcweir		</office:annotation>
1312cdf0e10cSrcweir	</xsl:template>
1313cdf0e10cSrcweir
1314cdf0e10cSrcweir	<xsl:template match="imageobject">
1315cdf0e10cSrcweir		<xsl:apply-templates/>
1316cdf0e10cSrcweir	</xsl:template>
1317cdf0e10cSrcweir
1318cdf0e10cSrcweir	<xsl:template match="textobject"></xsl:template>
1319cdf0e10cSrcweir
1320cdf0e10cSrcweir	<xsl:template match="caption">
1321cdf0e10cSrcweir		<xsl:apply-templates/>
1322cdf0e10cSrcweir	</xsl:template>
1323cdf0e10cSrcweir
1324cdf0e10cSrcweir
1325cdf0e10cSrcweir	<xsl:template match="imagedata">
1326cdf0e10cSrcweir		<xsl:element name="draw:image">
1327cdf0e10cSrcweir			<xsl:attribute name="draw:style-name">fr1</xsl:attribute>
1328cdf0e10cSrcweir			<xsl:attribute name="draw:name"></xsl:attribute>
1329cdf0e10cSrcweir			<xsl:attribute name="text:anchor-type"></xsl:attribute>
1330cdf0e10cSrcweir			<xsl:attribute name="draw:z-index"></xsl:attribute>
1331cdf0e10cSrcweir			<xsl:attribute name="xlink:href">
1332cdf0e10cSrcweir				<xsl:value-of select="@fileref"/>
1333cdf0e10cSrcweir			</xsl:attribute>
1334cdf0e10cSrcweir			<xsl:attribute name="xlink:type"></xsl:attribute>
1335cdf0e10cSrcweir			<xsl:attribute name="svg:width">
1336cdf0e10cSrcweir			<!--<xsl:value-of select="@width"/>-->
1337cdf0e10cSrcweir				<xsl:text>1cm</xsl:text>
1338cdf0e10cSrcweir			</xsl:attribute>
1339cdf0e10cSrcweir			<xsl:attribute name="svg:height">
1340cdf0e10cSrcweir				<xsl:text>1cm</xsl:text>
1341cdf0e10cSrcweir			</xsl:attribute>
1342cdf0e10cSrcweir			<xsl:attribute name="xlink:show">
1343cdf0e10cSrcweir				<xsl:text>embed</xsl:text>
1344cdf0e10cSrcweir			</xsl:attribute>
1345cdf0e10cSrcweir			<xsl:attribute name="xlink:actuate">
1346cdf0e10cSrcweir				<xsl:text>onLoad</xsl:text>
1347cdf0e10cSrcweir			</xsl:attribute>
1348cdf0e10cSrcweir			<xsl:attribute name="draw:filter-name">
1349cdf0e10cSrcweir				<xsl:text disable-output-escaping="yes">&lt;All formats&gt;</xsl:text>
1350cdf0e10cSrcweir			</xsl:attribute>
1351cdf0e10cSrcweir		</xsl:element>
1352cdf0e10cSrcweir	</xsl:template>
1353cdf0e10cSrcweir
1354cdf0e10cSrcweir	<xsl:template match="audioobject">
1355cdf0e10cSrcweir		<xsl:element name="draw:plugin">
1356cdf0e10cSrcweir			<xsl:attribute name="draw:style-name">fr1</xsl:attribute>
1357cdf0e10cSrcweir			<xsl:attribute name="draw:name"></xsl:attribute>
1358cdf0e10cSrcweir			<xsl:attribute name="text:anchor-type"></xsl:attribute>
1359cdf0e10cSrcweir			<xsl:attribute name="draw:z-index"></xsl:attribute>
1360cdf0e10cSrcweir			<xsl:attribute name="xlink:href">
1361cdf0e10cSrcweir				<xsl:value-of select="@fileref"/>
1362cdf0e10cSrcweir			</xsl:attribute>
1363cdf0e10cSrcweir			<xsl:attribute name="xlink:type"></xsl:attribute>
1364cdf0e10cSrcweir			<xsl:attribute name="svg:width">
1365cdf0e10cSrcweir			<!--<xsl:value-of select="@width"/>-->
1366cdf0e10cSrcweir				<xsl:text>1cm</xsl:text>
1367cdf0e10cSrcweir			</xsl:attribute>
1368cdf0e10cSrcweir			<xsl:attribute name="svg:height">
1369cdf0e10cSrcweir				<xsl:text>1cm</xsl:text>
1370cdf0e10cSrcweir			</xsl:attribute>
1371cdf0e10cSrcweir			<xsl:attribute name="xlink:show">
1372cdf0e10cSrcweir				<xsl:text>embed</xsl:text>
1373cdf0e10cSrcweir			</xsl:attribute>
1374cdf0e10cSrcweir			<xsl:attribute name="xlink:actuate">
1375cdf0e10cSrcweir				<xsl:text>onLoad</xsl:text>
1376cdf0e10cSrcweir			</xsl:attribute>
1377cdf0e10cSrcweir			<xsl:attribute name="draw:filter-name">
1378cdf0e10cSrcweir				<xsl:text disable-output-escaping="yes">&lt;All formats&gt;</xsl:text>
1379cdf0e10cSrcweir			</xsl:attribute>
1380cdf0e10cSrcweir		</xsl:element>
1381cdf0e10cSrcweir	</xsl:template>
1382cdf0e10cSrcweir
1383cdf0e10cSrcweir	<xsl:template match="remark">
1384cdf0e10cSrcweir		<xsl:apply-templates/>
1385cdf0e10cSrcweir	</xsl:template>
1386cdf0e10cSrcweir
1387cdf0e10cSrcweir	<xsl:template match="mediaobject">
1388cdf0e10cSrcweir		<xsl:element name="text:p">
1389cdf0e10cSrcweir			<xsl:attribute name="text:style-name">Mediaobject</xsl:attribute>
1390cdf0e10cSrcweir			<xsl:apply-templates/>
1391cdf0e10cSrcweir		</xsl:element>
1392cdf0e10cSrcweir	</xsl:template>
1393cdf0e10cSrcweir
1394cdf0e10cSrcweir	<xsl:template match="superscript">
1395cdf0e10cSrcweir		<xsl:element name="text:span">
1396cdf0e10cSrcweir			<xsl:attribute name="text:style-name">SuperScript</xsl:attribute>
1397cdf0e10cSrcweir			<xsl:apply-templates/>
1398cdf0e10cSrcweir		</xsl:element>
1399cdf0e10cSrcweir	</xsl:template>
1400cdf0e10cSrcweir
1401cdf0e10cSrcweir	<xsl:template match="subscript">
1402cdf0e10cSrcweir		<xsl:element name="text:span">
1403cdf0e10cSrcweir			<xsl:attribute name="text:style-name">SubScript</xsl:attribute>
1404cdf0e10cSrcweir			<xsl:apply-templates/>
1405cdf0e10cSrcweir		</xsl:element>
1406cdf0e10cSrcweir	</xsl:template>
1407cdf0e10cSrcweir
1408cdf0e10cSrcweir	<xsl:template match="anchor">
1409cdf0e10cSrcweir		<xsl:element name="text:bookmark">
1410cdf0e10cSrcweir			<xsl:attribute name="text:name"><xsl:value-of select="@id"/></xsl:attribute>
1411cdf0e10cSrcweir		</xsl:element>
1412cdf0e10cSrcweir	</xsl:template>
1413cdf0e10cSrcweir
1414cdf0e10cSrcweir<!-- Change Made By Kevin Fowlks (fowlks@msu.edu) July 2nd, 2003 -->
1415cdf0e10cSrcweir	<xsl:template match="example">
1416cdf0e10cSrcweir		<xsl:element name="text:p">
1417cdf0e10cSrcweir			<xsl:attribute name="text:style-name">Example</xsl:attribute>
1418cdf0e10cSrcweir			<xsl:value-of select="programlisting"/>
1419cdf0e10cSrcweir		</xsl:element>
1420cdf0e10cSrcweir	</xsl:template>
1421cdf0e10cSrcweir</xsl:stylesheet>