p5dkp.fix-glossgroup.wymagania.srcfile.xsl 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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:output indent="yes" method="xml" standalone="no" doctype-public="-//OASIS//DTD DITA Glossary Group//EN" doctype-system="glossgroup.dtd"/>-->
  14. <xsl:output indent="yes" />
  15. <xsl:strip-space elements="*"/>
  16. <xsl:param name="basedir" required="yes"/>
  17. <xsl:template mode="p5dkp:fix-glossgroup.wymagania.srcfile.xml" match="p5dkp:map.keys.xml">
  18. <project xmlns:p5dkp="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.xsd"
  19. xmlns:p5dkp.comment="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.comment.xsd"
  20. xmlns:p5xsda="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsd_asserts/p5xsda.xsd"
  21. basedir="{$basedir}"
  22. default="default"
  23. name="fix-glossgroup.wymagania.srcfile.xml.overwrite_with_backup">
  24. <target name="fix-glossgroup.wymagania.srcfile.xml.overwrite_with_backup">
  25. <xsl:apply-templates select=".//p5dkp:fix-glossgroup.wymagania.dstfile" mode="#current"/>
  26. </target>
  27. </project>
  28. </xsl:template>
  29. <xsl:template mode="p5dkp:fix-glossgroup.wymagania.srcfile.xml" match="p5dkp:fix-glossgroup.wymagania.dstfile">
  30. <!-- <p5dkp:fix-glossgroup.wymagania.srcfile>-->
  31. <xsl:message>#363 found from @dstfile=<xsl:value-of select="@dstfile"/> to @srcfile=<xsl:value-of select="@srcfile"/>;</xsl:message>
  32. <xsl:comment>#363 found from @dstfile=<xsl:value-of select="@dstfile"/> to @srcfile=<xsl:value-of select="@srcfile"/>;</xsl:comment>
  33. <copy file="{@srcfile}" tofile="{@srcfile}.bak"/>
  34. <move file="{@dstfile}" tofile="{@srcfile}"/>
  35. <!--</p5dkp:fix-glossgroup.wymagania.srcfile>-->
  36. </xsl:template>
  37. </xsl:stylesheet>