Makefile.xsl 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  4. xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
  5. xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
  6. xmlns:sso_procesy5="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/struktura_silnika_obiektow_procesy5.xsd"
  7. xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
  8. exclude-result-prefixes="xs"
  9. version="2.0">
  10. <!-- @2016-07 plik do wykonywania przez public_html/Makefile jako bazowy do komunikacji i wyzwalania innych templatow z tego bashowego narzedzia -->
  11. <xsl:import href="p5_tr_map.xsl"/>
  12. <xsl:import href="resources_tree_generate_xsl_require_occurs_raport.xsl"/>
  13. <xsl:import href="struktura_silnika_obiektow_procesy5.xsl"/>
  14. <xsl:param name="parent_type"/><!-- parametr do przekazywania przy wyzwalaniu ze skryptu sh do budowania map kompleksowo dla wszystkich elementow schematu-->
  15. <xsl:param name="targetNamespace" select="'http://biuro.biall-net.pl/xmlschema_procesy5/default_db'"/>
  16. <xsl:template name="rebuild_p5_tr_map_file_cache">
  17. <xsl:call-template name="p5_tr_map:rebuild_p5_tr_map_file_cache">
  18. <xsl:with-param name="href" select="'rebuild_p5_tr_map_file_cache.sh'"/>
  19. </xsl:call-template>
  20. </xsl:template>
  21. <xsl:template name="go_recurse_from_root_by_build_complexType_cache">
  22. <xsl:param name="parent_type" select="$parent_type"/>
  23. <xsl:call-template name="p5_tr_map:go_recurse_from_root_by_build_complexType_cache">
  24. <xsl:with-param name="output" select="'disabled'"/>
  25. <xsl:with-param name="parent_type" select="$parent_type"/>
  26. </xsl:call-template>
  27. </xsl:template>
  28. <xsl:template name="go_recurse_from_root_by_build_element_cache">
  29. <xsl:param name="parent_type" select="$parent_type"/>
  30. <xsl:call-template name="p5_tr_map:go_recurse_from_root_by_build_element_cache">
  31. <xsl:with-param name="output" select="'disabled'"/>
  32. <xsl:with-param name="parent_type" select="$parent_type"/>
  33. </xsl:call-template>
  34. </xsl:template>
  35. <xsl:template name="system_cache__resources_tree_required_occurs_raport__x3A__main">
  36. <xsl:message>#40 i run system_cache__resources_tree_required_occurs_raport:detect_objects_parent_relations__cache functions</xsl:message>
  37. <xsl:variable name="system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type_list">
  38. <xsl:call-template name="system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type__cache">
  39. <xsl:with-param name="targetNamespace" select="$targetNamespace"/>
  40. <xsl:with-param name="cache" select="'refresh'"/>
  41. </xsl:call-template>
  42. </xsl:variable>
  43. <xsl:variable name="system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_objects_parent_relations__cache">
  44. <xsl:call-template name="system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_objects_parent_relations__cache">
  45. <xsl:with-param name="cache" select="'refresh'"/>
  46. <xsl:with-param name="targetNamespace" select="$targetNamespace"/>
  47. <xsl:with-param name="system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type_list" select="$system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type_list"/>
  48. </xsl:call-template>
  49. </xsl:variable>
  50. We created:<xsl:value-of select="count($system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_objects_parent_relations__cache/*)"/> elements.
  51. <xsl:message>#53 system_cache__resources_tree_required_occurs_raport: finished making detect_objects_parent_relations__cache, ready to run sso_procesy5 to generate application functions</xsl:message>
  52. </xsl:template>
  53. <!-- @2016-11 do wygenerowania konfigu dla WFS-->
  54. <xsl:template name="system_cache__resources_tree_required_occurs_raport__x3A__generate_Capabilities_objects_to_WFS">
  55. <xsl:call-template name="system_cache__resources_tree_generate_xsl_required_occurs_raport:generate_Capabilities_objects_to_WFS"/>
  56. </xsl:template>
  57. <xsl:template name="system_cache__resources_tree_generate_xsl_required_occurs_raport__x3A__bash_refresh_instance_tables_for_tests_file">
  58. <xsl:call-template name="system_cache__resources_tree_generate_xsl_required_occurs_raport:bash_refresh_instance_tables_for_tests_file"/>
  59. </xsl:template>
  60. <!--<xsl:template name="sso_procesy5__x3A__create_db_functions_from_go_recurse_from_root_by_build_element_with_cache">
  61. <xsl:result-document href="../default_db.instance.xml/sso_procesy5/sso_procesy5_create_sql_tables_from_go_recurse_from_root_by_build_element_with_cache.xml">
  62. <root>
  63. <sso_procesy5:create_db_functions_from_go_recurse_from_root_by_build_element_with_cache>
  64. <xsl:call-template name="sso_procesy5:create_db_functions_from_go_recurse_from_root_by_build_element_with_cache"/>
  65. </sso_procesy5:create_db_functions_from_go_recurse_from_root_by_build_element_with_cache>
  66. </root>
  67. </xsl:result-document>
  68. </xsl:template>-->
  69. <xsl:template name="sso_procesy5__x3A__main">
  70. <xsl:call-template name="sso_procesy5:main"/>
  71. </xsl:template>
  72. </xsl:stylesheet>