home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2004 June / VPR0406.ISO / STARSUITE7 / EVALUATION / windows / office7 / f_0136 / docbook.jar / docbooktosoff.xsl next >
Extensible Markup Language  |  2002-12-02  |  66KB  |  1,405 lines

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