p5dkp.merged.xsl 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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:p5xsda="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsd_asserts/p5xsda.xsd"
  11. exclude-result-prefixes="xs"
  12. version="2.0">
  13. <xsl:output indent="yes"/>
  14. <xsl:strip-space elements="*"/>
  15. <xsl:param name="p5dkp:xsd" required="yes"/>
  16. <xsl:param name="p5dkp.map.etap.xml" required="yes"/>
  17. <xsl:param name="p5dkp.map.worker.xml" required="yes"/>
  18. <xsl:param name="p5dkp.map.role.xml" required="yes"/>
  19. <xsl:param name="p5dkp.map.product.xml" required="yes"/>
  20. <xsl:param name="p5dkp.map.wymagania.xml" required="yes"/>
  21. <xsl:param name="p5dkp.map.zadanie.xml" required="yes"/>
  22. <xsl:param name="p5dkp.map.keys.xml" required="yes"/>
  23. <xsl:param name="debug"/>
  24. <xsl:variable name="map.etap" select="doc($p5dkp.map.etap.xml)"/>
  25. <xsl:variable name="map.role" select="doc($p5dkp.map.role.xml)"/>
  26. <xsl:variable name="map.product" select="doc($p5dkp.map.product.xml)"/>
  27. <xsl:variable name="map.worker" select="doc($p5dkp.map.worker.xml)"/>
  28. <xsl:variable name="map.wymagania" select="doc($p5dkp.map.wymagania.xml)"/>
  29. <xsl:variable name="map.zadanie" select="doc($p5dkp.map.zadanie.xml)"/>
  30. <xsl:variable name="p5dkp.map.keys" select="doc($p5dkp.map.keys.xml)"/>
  31. <xsl:template name="p5dkp:merged.xml" >
  32. <p5dkp:merged.xml xsi:schemaLocation="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.xsd {$p5dkp:xsd}">
  33. <xsl:copy-of select="$map.etap"/>
  34. <xsl:copy-of select="$map.role"/>
  35. <xsl:copy-of select="$map.product"/>
  36. <xsl:copy-of select="$map.worker"/>
  37. <xsl:copy-of select="$map.zadanie"/>
  38. <xsl:copy-of select="$map.wymagania"/>
  39. <xsl:copy-of select="$p5dkp.map.keys"/>
  40. </p5dkp:merged.xml>
  41. </xsl:template>
  42. </xsl:stylesheet>