|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<xsl:stylesheet version="2.0" |
| 3 | +xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
| 4 | +xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 5 | +xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" |
| 6 | +xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" |
| 7 | +xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" |
| 8 | +xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" |
| 9 | +xmlns:ccts="urn:un:unece:uncefact:documentation:2" |
| 10 | +xmlns:epo="http://data.europa.eu/ePO/ontology#" |
| 11 | +xmlns:math="http://exslt.org/math" |
| 12 | +extension-element-prefixes="math"> |
| 13 | + |
| 14 | + <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/> |
| 15 | + |
| 16 | + <xsl:template match="/"> |
| 17 | + <xsl:call-template name="HTMLHeader"/> |
| 18 | + <xsl:call-template name="beginBody"/> |
| 19 | + <xsl:text disable-output-escaping="yes"><tr></xsl:text> |
| 20 | + <xsl:text disable-output-escaping="yes"><td></xsl:text> |
| 21 | + <xsl:apply-templates/> |
| 22 | + <xsl:text disable-output-escaping="yes"></td></xsl:text> |
| 23 | + <xsl:text disable-output-escaping="yes"><tr></xsl:text> |
| 24 | + <xsl:call-template name="endBody"/> |
| 25 | + </xsl:template> |
| 26 | + |
| 27 | + <xsl:template match="epo:DictionaryEntry"> |
| 28 | + <xsl:apply-templates select="xsd:annotation"/> |
| 29 | + </xsl:template> |
| 30 | + |
| 31 | + <xsl:template match="xsd:annotation"> |
| 32 | + <xsl:apply-templates select="xsd:documentation"/> |
| 33 | + </xsl:template> |
| 34 | + |
| 35 | +<xsl:template match="xsd:documentation"> |
| 36 | + <xsl:variable name="examples" select="ccts:Examples"/> |
| 37 | + <xsl:variable name="source" select="epo:Sources"/> |
| 38 | + <xsl:variable name="usedIn" select="ccts:UsageRule"/> |
| 39 | + |
| 40 | + <xsl:variable name="entryPos"> |
| 41 | + <xsl:number count="epo:DictionaryEntry" format="1"/> |
| 42 | + </xsl:variable> |
| 43 | + |
| 44 | + <xsl:variable name="Entry" select="upper-case(substring(ccts:DictionaryEntryName/text(), 1,1))"/> |
| 45 | + <xsl:variable name="nextEntry" select="upper-case(substring(../../../epo:DictionaryEntry[$entryPos + 1]/xsd:annotation/xsd:documentation/ccts:DictionaryEntryName/text(), 1,1))"/> |
| 46 | + |
| 47 | + <xsl:if test="$entryPos = 1"> |
| 48 | + <div class="nqa"> |
| 49 | + <hr style="height: 10px; border-style: solid; border-color: #8c8b8b; border-width: 1px 0 0 0; border-radius: 30px;"/> |
| 50 | + <entry_letter> |
| 51 | + <xsl:value-of select="$Entry"/> |
| 52 | + <a href="#index" style="text-decoration:none;"> ↑ </a> |
| 53 | + </entry_letter> |
| 54 | + </div> |
| 55 | + </xsl:if> |
| 56 | + |
| 57 | + <div class="qa"> |
| 58 | + <xsl:text disable-output-escaping="yes"><input type="checkbox" id="qa</xsl:text><xsl:value-of select="$entryPos"/><xsl:text disable-output-escaping="yes">"/></xsl:text> |
| 59 | + <xsl:text disable-output-escaping="yes"><label for="qa</xsl:text><xsl:value-of select="$entryPos"/><xsl:text disable-output-escaping="yes">"></xsl:text><entry><xsl:value-of select="ccts:DictionaryEntryName"/></entry><xsl:text disable-output-escaping="yes"></label></xsl:text> |
| 60 | + <div> |
| 61 | + <definition><xsl:value-of select="ccts:Definition"/></definition> |
| 62 | + <br> |
| 63 | + <xsl:if test="$examples !=''"><examples><bn>Ex.: </bn><xsl:value-of select="$examples"/></examples></xsl:if> |
| 64 | + <xsl:if test="$source !=''"><sources><br><bn>Source: </bn><xsl:value-of select="$source"/></br></sources></xsl:if> |
| 65 | + <xsl:if test="$usedIn !=''"><usedIn><br><bn>Used in: </bn><xsl:value-of select="$usedIn"/></br></usedIn></xsl:if> |
| 66 | + </br> |
| 67 | + </div> |
| 68 | + </div> |
| 69 | + |
| 70 | + <xsl:if test="$Entry != $nextEntry"> |
| 71 | + <div class="nqa"> |
| 72 | + <hr style="height: 10px; border-style: solid; border-color: #8c8b8b; border-width: 1px 0 0 0; border-radius: 30px;"/> |
| 73 | + <entry_letter> |
| 74 | + <xsl:text disable-output-escaping="yes"><div id="</xsl:text><xsl:value-of select="$nextEntry"/><xsl:text disable-output-escaping="yes">"></xsl:text><xsl:text disable-output-escaping="yes"></div></xsl:text> |
| 75 | + <xsl:value-of select="$nextEntry"/> |
| 76 | + <a href="#index" style="text-decoration:none;"> ↑ </a> |
| 77 | + </entry_letter> |
| 78 | + </div> |
| 79 | + </xsl:if> |
| 80 | + |
| 81 | + </xsl:template> |
| 82 | + |
| 83 | + <xsl:template name="HTMLHeader"> |
| 84 | + <xsl:text disable-output-escaping="yes"><html></xsl:text> |
| 85 | + <head> |
| 86 | + <meta charset="UTF-8"/> |
| 87 | + <title>eProcurement Ontology (ePO) Glossary</title> |
| 88 | + <link rel = "stylesheet" type = "text/css" href = "./css/Glossary.css"/> |
| 89 | + </head> |
| 90 | + </xsl:template> |
| 91 | + |
| 92 | + <xsl:template name="beginBody"> |
| 93 | + |
| 94 | + <xsl:text disable-output-escaping="yes"><table width=70%" align="center"></xsl:text> |
| 95 | + <xsl:text disable-output-escaping="yes"><tr></xsl:text> |
| 96 | + <xsl:text disable-output-escaping="yes"><td></xsl:text> |
| 97 | + <xsl:text disable-output-escaping="yes"><body></xsl:text> |
| 98 | + <h1 class="title_font">eProcurement Ontology (ePO) Glossary</h1> |
| 99 | + <div class="normal_font"> |
| 100 | + <p>The following list of eProcurement concepts have been detected through an analysis of the new procurement forms (<b>eForms</b>) to be used soon by all tenderers in the EU.</p> |
| 101 | + <p><b>eForms</b> are one of the actions in the Single Market Strategy, where the European Commission has committed to "facilitate the collection, consolidation, management and analysis of procurement data, supporting Member States’ efforts towards better governance in public procurement".</p> |
| 102 | + <p>Please review the proposed definitions, as well as the link of each concept with the proposed Use Cases and eProcurement phases.</p> |
| 103 | + <p>In the Github section <a href="https://github.com/eProcurement-everis/ePO/wiki/Glossary-Management" style="text-decoration:none">Glossary Management</a> you will find instructions of how to contribute to the enrichment and improvement of the EPO Glossary.</p> |
| 104 | + </div> |
| 105 | + |
| 106 | + <p> |
| 107 | + <a class="anchor" href="#index"/> |
| 108 | + <div class="index" id="index"> |
| 109 | + <a href="#A" style="text-decoration:none;">A </a> |
| 110 | + <a href="#B" style="text-decoration:none;"> B </a> |
| 111 | + <a href="#C" style="text-decoration:none;"> C </a> |
| 112 | + <a href="#D" style="text-decoration:none;"> D </a> |
| 113 | + <a href="#E" style="text-decoration:none;"> E </a> |
| 114 | + <a href="#F" style="text-decoration:none;"> F </a> |
| 115 | + <a href="#G" style="text-decoration:none;"> G </a> |
| 116 | + <a href="#H" style="text-decoration:none;"> H </a> |
| 117 | + <a href="#I" style="text-decoration:none;"> I </a> |
| 118 | + <a href="#J" style="text-decoration:none;"> J </a> |
| 119 | + <a href="#K" style="text-decoration:none;"> K </a> |
| 120 | + <a href="#L" style="text-decoration:none;"> L </a> |
| 121 | + <a href="#M" style="text-decoration:none;"> M </a> |
| 122 | + <a href="#N" style="text-decoration:none;"> N </a> |
| 123 | + <a href="#O" style="text-decoration:none;"> O </a> |
| 124 | + <a href="#P" style="text-decoration:none;"> P </a> |
| 125 | + <a href="#Q" style="text-decoration:none;"> Q </a> |
| 126 | + <a href="#R" style="text-decoration:none;"> R </a> |
| 127 | + <a href="#S" style="text-decoration:none;"> S </a> |
| 128 | + <a href="#T" style="text-decoration:none;"> T </a> |
| 129 | + <a href="#U" style="text-decoration:none;"> U </a> |
| 130 | + <a href="#V" style="text-decoration:none;"> V </a> |
| 131 | + <a href="#W" style="text-decoration:none;"> W </a> |
| 132 | + <a href="#X" style="text-decoration:none;"> X </a> |
| 133 | + <a href="#Y" style="text-decoration:none;"> Y </a> |
| 134 | + <a href="#Z" style="text-decoration:none;"> Z </a> |
| 135 | + </div> |
| 136 | + </p> |
| 137 | + <xsl:text disable-output-escaping="yes"></td></xsl:text> |
| 138 | + <xsl:text disable-output-escaping="yes"><tr></xsl:text> |
| 139 | + </xsl:template> |
| 140 | + |
| 141 | + <xsl:template name="endBody"> |
| 142 | + <xsl:text disable-output-escaping="yes"></table></xsl:text> |
| 143 | + <xsl:text disable-output-escaping="yes"></body></xsl:text> |
| 144 | + </xsl:template> |
| 145 | + |
| 146 | +</xsl:stylesheet> |
0 commit comments