p5dkp.fix-glossgroup.xsl 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
  3. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  4. xmlns:p5bws="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"
  5. xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
  6. xmlns:p5dkp="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.xsd"
  7. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  8. xmlns:p5suis="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd"
  9. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  10. xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"
  11. exclude-result-prefixes="xs vc p5bws system_cache__appinfo p5suis p5dkp xsi ditaarch"
  12. version="2.0"> <!-- xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" -->
  13. <xsl:import href="p5dkp.fix-topic.xsl"/>
  14. <xsl:import href="p5dkp.fix-ditamap.xsl"/>
  15. <xsl:output indent="yes" method="xml" standalone="no" doctype-public="-//OASIS//DTD DITA Glossary Group//EN" doctype-system="glossgroup.dtd"/>
  16. <!--<xsl:output indent="yes" />-->
  17. <xsl:strip-space elements="*"/>
  18. <!--<xsl:variable name="debug" select="99"/>-->
  19. <xsl:param name="p5dkp:fix-glossgroup.force" select="true()"/> <!-- to force refresh of all contents by keys -->
  20. <xsl:param name="p5dkp:fix-glossgroup.fix.prefix" select="'fixedgg'"/>
  21. <xsl:template name="p5dkp:fix-glossgroup">
  22. <xsl:param name="file.href" required="yes"/>
  23. <xsl:param name="map.path" required="yes"/>
  24. <xsl:param name="keyscope" required="yes"/>
  25. <xsl:param name="keyscope.attr" required="yes"/>
  26. <xsl:param name="keydef" required="yes"/>
  27. <xsl:param name="href" required="yes"/>
  28. <xsl:apply-templates mode="p5dkp:fix-glossgroup" select="doc($file.href)"> <!-- doc(concat($path,'/',@href)) -->
  29. <xsl:with-param name="map.path" select="$map.path"/>
  30. <xsl:with-param name="keyscope" select="$keyscope"/>
  31. <xsl:with-param name="keyscope.attr" select="$keyscope.attr"/>
  32. <xsl:with-param name="keydef" select="$keydef"/>
  33. <xsl:with-param name="href" select="$href"/>
  34. </xsl:apply-templates>
  35. </xsl:template>
  36. <xsl:template mode="p5dkp:fix-glossgroup" match="glossgroup">
  37. <xsl:param name="keyscope" required="yes"/>
  38. <xsl:param name="map.path" required="yes"/>
  39. <xsl:param name="keyscope.attr" required="yes"/>
  40. <xsl:param name="keydef" required="yes"/>
  41. <xsl:param name="href" required="yes"/>
  42. <p5dkp:fix-glossgroup>
  43. <xsl:attribute name="map.path" select="$map.path"/>
  44. <xsl:choose>
  45. <xsl:when test="$debug">
  46. <xsl:copy-of select="@*"/>
  47. <keyscope.attr>
  48. <xsl:copy-of select="$keyscope.attr"/>
  49. </keyscope.attr>
  50. <keydef>
  51. <xsl:copy-of select="$keydef"/>
  52. </keydef>
  53. <keyscope>
  54. <xsl:copy-of select="$keyscope"/>
  55. </keyscope>
  56. <href>
  57. <xsl:value-of select="$href"/>
  58. </href>
  59. </xsl:when>
  60. </xsl:choose>
  61. <xsl:variable name="context" select="."/>
  62. <xsl:variable name="max_keyscope" select="max($keyscope//key/string-length(text()))"/>
  63. <xsl:if test="number($debug) &gt; 2"><xsl:message>#6666 $max_keyscope=<xsl:value-of select="$max_keyscope"/>; p5dkp:max_keyscope.pos($keyscope)=<xsl:value-of select="p5dkp:max_keyscope.pos($keyscope)"/>; p5dkp:max_keyscope.get($keyscope,p5dkp:max_keyscope.pos($keyscope))=<xsl:value-of select="p5dkp:max_keyscope.get($keyscope,p5dkp:max_keyscope.pos($keyscope))"/></xsl:message></xsl:if>
  64. <!--<max_keyscope>
  65. <xsl:value-of select="$max_keyscope"/>
  66. </max_keyscope>-->
  67. <xsl:for-each select="$keyscope//key">
  68. <xsl:choose>
  69. <xsl:when test="string-length(.) = $max_keyscope">
  70. <xsl:for-each select="tokenize( . , '\.')">
  71. <xsl:choose>
  72. <xsl:when test="position() = 1">
  73. <xsl:choose>
  74. <xsl:when test="current() = 'role'">
  75. <xsl:message>#59 ignoring glossgroup fix for current() = 'role'</xsl:message>
  76. <!--<xsl:variable name="p5dkp:fix-glossgroup.role">
  77. <xsl:apply-templates mode="p5dkp:fix-glossgroup.role" select="$context">
  78. <xsl:with-param name="keydef" select="$keydef"/>
  79. <xsl:with-param name="keyscope" select="$keyscope"/>
  80. </xsl:apply-templates>
  81. </xsl:variable>
  82. <xsl:choose>
  83. <xsl:when test="$p5dkp:fix-glossgroup.role//comment()">
  84. <p5suis:say> Fixed dita to copy <xsl:value-of select="$href"/></p5suis:say>
  85. <xsl:message>#68 Fixed dita to copy <xsl:value-of select="$map.path"/>/<xsl:value-of select="$href"/> </xsl:message>
  86. <!-\-<xsl:result-document href="{$map.path}/{$href}.fixed">
  87. <xsl:copy-of select="$p5dkp:fix-glossgroup.role"/>
  88. </xsl:result-document>-\->
  89. </xsl:when>
  90. </xsl:choose>-->
  91. </xsl:when>
  92. <xsl:when test="current() = 'wymagania'">
  93. <xsl:variable name="p5dkp:fix-glossgroup.wymagania">
  94. <xsl:apply-templates mode="p5dkp:fix-glossgroup.wymagania" select="$context" xpath-default-namespace="">
  95. <xsl:with-param name="keydef" select="$keydef"/>
  96. <xsl:with-param name="keyscope" select="$keyscope"/>
  97. </xsl:apply-templates>
  98. </xsl:variable>
  99. <!--<TRY_WYMAGANIA>
  100. <TEST>
  101. <xsl:copy-of select="$p5dkp:fix-glossgroup.wymagania"/>
  102. </TEST>
  103. <CONTEXT>
  104. <xsl:copy-of select="$context"/>
  105. </CONTEXT>
  106. </TRY_WYMAGANIA>-->
  107. <xsl:choose>
  108. <xsl:when test="$p5dkp:fix-glossgroup.wymagania//comment()">
  109. <p5dkp:fix-glossgroup.wymagania.dstfile srcfile="{$map.path}/{$href}" dstfile="{$map.path}/{$href}.{$p5dkp:fix-glossgroup.fix.prefix}"/>
  110. <p5suis:say> Fixed glossgroup dita to copy <xsl:value-of select="$href"/></p5suis:say>
  111. <xsl:message>#822 Fixed glossgroup dita to copy <xsl:value-of select="$map.path"/>/<xsl:value-of select="$href"/> </xsl:message>
  112. <xsl:choose>
  113. <xsl:when test="doc-available(concat($map.path,'/',$href,'.',$p5dkp:fix-glossgroup.fix.prefix))">
  114. <xsl:message>#123 DOCUMENT EXISTS - should bbefore go clean! <xsl:value-of select="$href"/>.<xsl:value-of select="$p5dkp:fix-glossgroup.fix.prefix"/> !</xsl:message>
  115. <xsl:message>#124 count of previous hits of $href <!--<xsl:value-of select="document-uri(current())"/>-->
  116. <xsl:copy-of select="$keyscope" copy-namespaces="no"/>
  117. </xsl:message>
  118. </xsl:when>
  119. <xsl:otherwise>
  120. <xsl:message>#129 echo keyscope nizej</xsl:message>
  121. <xsl:copy-of select="$keyscope" copy-namespaces="no"/>
  122. <xsl:result-document href="{$map.path}/{$href}.{$p5dkp:fix-glossgroup.fix.prefix}" ><!-- doctype-public="-//OASIS//DTD DITA Glossary Group//EN" doctype-system="glossgroup.dtd" -->
  123. <xsl:copy-of select="$p5dkp:fix-glossgroup.wymagania"/>
  124. </xsl:result-document>
  125. </xsl:otherwise>
  126. </xsl:choose>
  127. </xsl:when>
  128. </xsl:choose>
  129. <xsl:apply-templates mode="p5dkp:fix-ditamap.wymagania" select="$context" xpath-default-namespace="">
  130. <xsl:with-param name="keydef" select="$keydef"/>
  131. <xsl:with-param name="keyscope" select="$keyscope"/>
  132. <xsl:with-param name="map.path" select="$map.path"/>
  133. <xsl:with-param name="href" select="$href"/>
  134. </xsl:apply-templates>
  135. </xsl:when>
  136. </xsl:choose>
  137. </xsl:when>
  138. </xsl:choose>
  139. </xsl:for-each>
  140. </xsl:when>
  141. </xsl:choose>
  142. </xsl:for-each>
  143. </p5dkp:fix-glossgroup>
  144. </xsl:template>
  145. <xsl:template mode="p5dkp:fix-glossgroup.wymagania" match="*|text()|comment()">
  146. <xsl:message>#319 - something goes wrong match p5dkp:fix-glossgroup.wymagania = <xsl:copy-of select="." copy-namespaces="no"/></xsl:message>
  147. </xsl:template>
  148. <xsl:function name="p5dkp:menucascade">
  149. <xsl:param name="keyscope"/>
  150. <xsl:param name="keydef.keys"/>
  151. <sub>
  152. <menucascade>
  153. <xsl:for-each select="tokenize($keyscope,'\.')">
  154. <uicontrol><xsl:value-of select="."/></uicontrol>
  155. </xsl:for-each>
  156. <uicontrol><xsl:value-of select="$keydef.keys"/></uicontrol>
  157. </menucascade>
  158. </sub>
  159. </xsl:function>
  160. <xsl:template mode="p5dkp:fix-glossgroup.wymagania" match="glossgroup" xpath-default-namespace="" exclude-result-prefixes="ditaarch">
  161. <xsl:param name="keyscope" required="yes"/>
  162. <xsl:param name="keydef" required="yes"/>
  163. <xsl:message>#321 TO FIX TEST for $keyscope=<xsl:value-of select="$keyscope"/>; p5dkp:max_keyscope.get($keyscope,p5dkp:max_keyscope.pos($keyscope))=<xsl:value-of select="p5dkp:max_keyscope.get($keyscope,p5dkp:max_keyscope.pos($keyscope))"/> <xsl:value-of select=".//@*"/> </xsl:message>
  164. <xsl:variable name="context" select="." />
  165. <xsl:copy copy-namespaces="no">
  166. <xsl:for-each select="$keydef">
  167. <xsl:variable name="keydef.keys" select="@keys"/>
  168. <xsl:choose>
  169. <xsl:when test="$context/.//*[@keyref = concat($keyscope,'.',$keydef.keys)] and position() = 1 and not($p5dkp:fix-glossgroup.force)" >
  170. <xsl:message>#347-AAB-A OK is set $context/.//*[@keyref $keydef.keys]] $$keydef.keys = <xsl:value-of select="$keydef.keys"/> </xsl:message>
  171. <xsl:copy-of select="$context/@*"/>
  172. <xsl:copy-of select="$context/title"/>
  173. <!--<FIRST_STAGE>-->
  174. <xsl:apply-templates mode="p5dkp:fix-glossgroup.wymagania.child" xpath-default-namespace="">
  175. <xsl:with-param name="keyscope" select="$keyscope"/>
  176. <xsl:with-param name="keydef" select="$keydef"/>
  177. <xsl:with-param name="context" select="$context"/>
  178. <!--<xsl:with-param name="force.glossgroup" select="true()"/>-->
  179. </xsl:apply-templates>
  180. <!--</FIRST_STAGE>-->
  181. </xsl:when>
  182. <xsl:when test="position() = 1">
  183. <xsl:message>#17555 position = 1 else - adding <xsl:value-of select="$keydef.keys"/> </xsl:message>
  184. <xsl:attribute name="id" select="$keydef.keys"/>
  185. <xsl:comment>179 ADDED COS</xsl:comment>
  186. <!--<SECOND>-->
  187. <title>
  188. <ph keyref="{p5dkp:max_keyscope.get($keyscope,p5dkp:max_keyscope.pos($keyscope))}.{$keydef.keys}"/>
  189. <!--<sub>Sciezka wymagan: <xsl:value-of select="p5dkp:max_keyscope.get($keyscope,p5dkp:max_keyscope.pos($keyscope))"/> .<xsl:value-of select="$keydef.keys"/></sub>-->
  190. <xsl:copy-of select="p5dkp:menucascade(p5dkp:max_keyscope.get($keyscope,p5dkp:max_keyscope.pos($keyscope)),$keydef.keys)"></xsl:copy-of>
  191. </title>
  192. <xsl:apply-templates mode="p5dkp:fix-glossgroup.wymagania.child" xpath-default-namespace="">
  193. <xsl:with-param name="keyscope" select="$keyscope"/>
  194. <xsl:with-param name="keydef" select="$keydef"/>
  195. <xsl:with-param name="context" select="$context"/>
  196. <!--<xsl:with-param name="force.glossgroup" select="true()"/>-->
  197. </xsl:apply-templates>
  198. <!--</SECOND>-->
  199. </xsl:when>
  200. <xsl:when test="position() = 2">
  201. <!--<THIRD>-->
  202. <!-- <glossgroup
  203. id="{$keydef.keys}">
  204. <title>
  205. <ph keyref="{p5dkp:max_keyscope.get($keyscope,p5dkp:max_keyscope.pos($keyscope))}.{$keydef.keys}"/>
  206. Ścieżka wymagań<codeph><xsl:value-of select="p5dkp:max_keyscope.get($keyscope,p5dkp:max_keyscope.pos($keyscope))"/>.<xsl:value-of select="$keydef.keys"/></codeph>
  207. </title>
  208. <xsl:apply-templates mode="p5dkp:fix-glossgroup.wymagania.child" xpath-default-namespace="">
  209. <xsl:with-param name="keyscope" select="$keyscope"/>
  210. <xsl:with-param name="keydef" select="$keydef"/>
  211. <xsl:with-param name="context" select="$context"/>
  212. </xsl:apply-templates>
  213. -->
  214. <xsl:for-each select="$keydef">
  215. <xsl:choose>
  216. <xsl:when test="position() &gt; 1">
  217. <xsl:apply-templates mode="p5dkp:fix-glossgroup.wymagania.child" select="." xpath-default-namespace="">
  218. <xsl:with-param name="keyscope" select="$keyscope"/>
  219. <xsl:with-param name="keydef" select="$keydef"/>
  220. <xsl:with-param name="context" select="$context"/>
  221. </xsl:apply-templates>
  222. </xsl:when>
  223. </xsl:choose>
  224. </xsl:for-each>
  225. <!--</THIRD>-->
  226. </xsl:when>
  227. </xsl:choose>
  228. </xsl:for-each>
  229. </xsl:copy>
  230. </xsl:template>
  231. <xsl:template mode="p5dkp:fix-glossgroup.wymagania.child" match="*" xpath-default-namespace="">
  232. <xsl:param name="keyscope" required="yes"/>
  233. <xsl:param name="keydef" required="yes"/>
  234. <xsl:param name="context" required="yes"/>
  235. <!--<xsl:copy copy-namespaces="no">
  236. <xsl:copy-of select="@*"/>-->
  237. <xsl:apply-templates mode="p5dkp:fix-glossgroup.wymagania.child" xpath-default-namespace="">
  238. <xsl:with-param name="keyscope" select="$keyscope"/>
  239. <xsl:with-param name="keydef" select="$keydef"/>
  240. <xsl:with-param name="context" select="$context"/>
  241. </xsl:apply-templates>
  242. <!--</xsl:copy>-->
  243. </xsl:template>
  244. <xsl:template mode="p5dkp:fix-glossgroup.wymagania.child.copy" match="*">
  245. <xsl:copy copy-namespaces="no">
  246. <xsl:copy-of select="@*"/>
  247. <xsl:apply-templates mode="p5dkp:fix-glossgroup.wymagania.child.copy"/>
  248. </xsl:copy>
  249. </xsl:template>
  250. <xsl:template mode="p5dkp:fix-glossgroup.wymagania.child.copy" match="text()">
  251. <xsl:copy-of select="."/>
  252. </xsl:template>
  253. <xsl:template mode="p5dkp:fix-glossgroup.wymagania.child.copy" match="keydef"/>
  254. <xsl:template mode="p5dkp:fix-glossgroup.wymagania.child" match="text()|comment()" xpath-default-namespace=""/>
  255. <xsl:template mode="p5dkp:fix-glossgroup.wymagania.child" match="* [ local-name()='keydef'] " xpath-default-namespace="" exclude-result-prefixes="ditaarch">
  256. <xsl:param name="keyscope" required="yes"/>
  257. <xsl:param name="keydef" required="yes"/>
  258. <xsl:param name="context" required="yes"/>
  259. <xsl:param name="force.glossgroup"/>
  260. <xsl:variable name="keydef.keys" select="@keys"/>
  261. <xsl:choose>
  262. <xsl:when test="$context/.//*[@keyref = concat($keyscope,'.',$keydef.keys)] and not($p5dkp:fix-glossgroup.force)">
  263. <xsl:message>#347-B-AA OK is set $context/.//*[@keyref $keydef.keys]] for $$keydef.keys = <xsl:value-of select="$keydef.keys"/></xsl:message>
  264. <xsl:apply-templates mode="p5dkp:fix-glossgroup.wymagania.child" xpath-default-namespace="">
  265. <xsl:with-param name="keyscope" select="$keyscope"/>
  266. <xsl:with-param name="keydef" select="$keydef"/>
  267. <xsl:with-param name="context" select="$context"/>
  268. </xsl:apply-templates>
  269. </xsl:when>
  270. <xsl:otherwise>
  271. <xsl:choose>
  272. <xsl:when test="keydef or $force.glossgroup" xpath-default-namespace="">
  273. <xsl:message>#195-B adding child glossgroup for <xsl:value-of select="$keydef.keys"/>;</xsl:message>
  274. <glossgroup
  275. id="{$keydef.keys}">
  276. <title>
  277. <ph keyref="{p5dkp:max_keyscope.get($keyscope,p5dkp:max_keyscope.pos($keyscope))}.{$keydef.keys}"
  278. class="- topic/ph "/>
  279. <!--<xsl:copy-of select="p5dkp:menucascade(p5dkp:max_keyscope.get($keyscope,p5dkp:max_keyscope.pos($keyscope)),$keydef.keys)"></xsl:copy-of>-->
  280. </title>
  281. <xsl:comment>#308 fixed </xsl:comment>
  282. <xsl:apply-templates mode="p5dkp:fix-glossgroup.wymagania.child" xpath-default-namespace="">
  283. <xsl:with-param name="keyscope" select="$keyscope"/>
  284. <xsl:with-param name="keydef" select="$keydef"/>
  285. <xsl:with-param name="context" select="$context"/>
  286. </xsl:apply-templates>
  287. </glossgroup>
  288. </xsl:when>
  289. <xsl:otherwise>
  290. <glossentry id="{$keydef.keys}">
  291. <glossterm>Parametr: <b><xsl:value-of select="$keydef.keys"/></b></glossterm>
  292. <glossdef>
  293. <p><xsl:copy-of select="p5dkp:menucascade(p5dkp:max_keyscope.get($keyscope,p5dkp:max_keyscope.pos($keyscope)),$keydef.keys)" copy-namespaces="no"/></p>
  294. <p>
  295. <ph keyref="{p5dkp:max_keyscope.get($keyscope,p5dkp:max_keyscope.pos($keyscope))}.{$keydef.keys}"/>
  296. </p>
  297. <xsl:comment> #392-B Wymagania uzupełnione automatycznie</xsl:comment>
  298. <xsl:apply-templates mode="p5dkp:fix-glossgroup.wymagania.child.glosdef_content" select="$context/.//glossentry[@id=$keydef.keys]/glossdef">
  299. <xsl:with-param name="keyref.expected" select="concat(p5dkp:max_keyscope.get($keyscope,p5dkp:max_keyscope.pos($keyscope)),'.',$keydef.keys)"/>
  300. </xsl:apply-templates>
  301. <xsl:comment> #392-B Wymagania uzupełnione automatycznie EOF</xsl:comment>
  302. <xsl:if test="topicmeta/keywords/keyword/glossdef/*"><xsl:comment>#327 copying </xsl:comment></xsl:if>
  303. <xsl:apply-templates mode="p5dkp:fix-glossgroup.wymagania.child.copy" select="topicmeta/keywords/keyword/glossdef/*" xpath-default-namespace="">
  304. <xsl:with-param name="keyscope" select="$keyscope"/>
  305. <xsl:with-param name="keydef" select="$keydef"/>
  306. <xsl:with-param name="context" select="$context"/>
  307. </xsl:apply-templates>
  308. <xsl:apply-templates mode="p5dkp:fix-glossgroup.wymagania.child" xpath-default-namespace="">
  309. <xsl:with-param name="keyscope" select="$keyscope"/>
  310. <xsl:with-param name="keydef" select="$keydef"/>
  311. <xsl:with-param name="context" select="$context"/>
  312. </xsl:apply-templates>
  313. </glossdef>
  314. </glossentry>
  315. </xsl:otherwise>
  316. </xsl:choose>
  317. </xsl:otherwise>
  318. </xsl:choose>
  319. </xsl:template>
  320. <xsl:template mode="p5dkp:fix-glossgroup.wymagania.child.glosdef_content" match="glossdef"><!-- to retrieve existient glossdef content without -->
  321. <xsl:param name="keyref.expected" required="yes"/>
  322. <xsl:for-each select="*">
  323. <xsl:choose>
  324. <xsl:when test="sub[menucascade]"/>
  325. <xsl:when test="menucascade"/>
  326. <xsl:when test="contains(text()[1],'Ścieżka wymagań') and codeph"/>
  327. <xsl:when test="sub[ matches(text(),'(Sciezka.*wymagan)|(Ścieżka.*wymagań)')]"></xsl:when>
  328. <xsl:when test=".//@keyref=$keyref.expected"><xsl:comment>#353 $keyref.expected ignored</xsl:comment></xsl:when>
  329. <xsl:otherwise><xsl:comment>#352 preserved content</xsl:comment><xsl:copy-of select="." copy-namespaces="no"/></xsl:otherwise>
  330. </xsl:choose>
  331. </xsl:for-each>
  332. </xsl:template>
  333. <xsl:template mode="p5dkp:fix-glossgroup" match="*">
  334. <xsl:message>#396 uncorrect p5dkp:fix-glossgroup" match="*" = <xsl:value-of select="name()"/>; <xsl:copy-of select="@*" copy-namespaces="no"/></xsl:message>
  335. </xsl:template>
  336. <xsl:template mode="p5dkp:fix-glossgroup" match="comment()|text()"/>
  337. <xsl:template mode="p5dkp:fix-glossgroup.wymagania.srcfile" match="p5dkp:map.keys.xml">
  338. <xsl:apply-templates select=".//p5dkp:fix-glossgroup.wymagania.dstfile" mode="#current"/>
  339. </xsl:template>
  340. <xsl:template mode="p5dkp:fix-glossgroup.wymagania.srcfile" match="p5dkp:fix-glossgroup.wymagania.dstfile">
  341. <p5dkp:fix-glossgroup.wymagania.srcfile>
  342. <xsl:message>#363 found from @dstfile=<xsl:value-of select="@dstfile"/> to @srcfile=<xsl:value-of select="@dstfile"/>;</xsl:message>
  343. </p5dkp:fix-glossgroup.wymagania.srcfile>
  344. </xsl:template>
  345. </xsl:stylesheet>