|
@@ -171,60 +171,60 @@
|
|
|
<xsl:variable name="build_complexType" select="doc(concat($build_complexType_dir,'/',$prefixed_object_info/system_cache__appinfo:prefixed_object_info/@prefix,'/',$prefixed_object_info/system_cache__appinfo:prefixed_object_info/@element,'.xml'))"/>
|
|
<xsl:variable name="build_complexType" select="doc(concat($build_complexType_dir,'/',$prefixed_object_info/system_cache__appinfo:prefixed_object_info/@prefix,'/',$prefixed_object_info/system_cache__appinfo:prefixed_object_info/@element,'.xml'))"/>
|
|
|
<xsl:variable name="detect_resource_type" select=" system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type_from_cache(@system_cache__appinfo:ref)"/>
|
|
<xsl:variable name="detect_resource_type" select=" system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type_from_cache(@system_cache__appinfo:ref)"/>
|
|
|
<xsl:comment>#138 from <xsl:value-of select="@system_cache__appinfo:ref"/>; I get prefixed_object_info/@element <xsl:value-of select="$prefixed_object_info/system_cache__appinfo:prefixed_object_info/@element"/>; </xsl:comment>
|
|
<xsl:comment>#138 from <xsl:value-of select="@system_cache__appinfo:ref"/>; I get prefixed_object_info/@element <xsl:value-of select="$prefixed_object_info/system_cache__appinfo:prefixed_object_info/@element"/>; </xsl:comment>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<xsl:choose>
|
|
<xsl:choose>
|
|
|
<xsl:when test="@flat_relation_cache_xpath and @flat_relation_cache_name">
|
|
<xsl:when test="@flat_relation_cache_xpath and @flat_relation_cache_name">
|
|
|
<xsl:element name="RelatedFeature">
|
|
<xsl:element name="RelatedFeature">
|
|
|
- <xsl:attribute name="xml_id" select="generate-id()"/>
|
|
|
|
|
- <!-- tymczasowe wymuszenie relacji do obiektu glownego na podstawie $detect_resource_type -->
|
|
|
|
|
- <!-- <xsl:attribute name="typeName" select="p5_tr_map:force_local_typeName(@system_cache__appinfo:ref)"/>-->
|
|
|
|
|
- <!--<xsl:if test="string-length($detect_resource_type//system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type/@system_cache__appinfo:get_default_db_obj_url_table_name) = 0">
|
|
|
|
|
- <xsl:message terminate="yes">#174 Bad not found expected for <xsl:value-of select="@system_cache__appinfo:ref"/>; @system_cache__appinfo:get_default_db_obj_url_table_name ! </xsl:message>
|
|
|
|
|
- </xsl:if>-->
|
|
|
|
|
- <!--<xsl:if test="string-length($detect_resource_type//system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type/@system_cache__appinfo:get_default_db_obj_url_table_name) <1"><xsl:message terminate="no">#176 ERROR - not required @system_cache__appinfo:get_default_db_obj_url_table_name - to probably fix system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type</xsl:message></xsl:if>-->
|
|
|
|
|
- <!--<xsl:attribute name="typeNameRealResource" select="concat($namespace_prefix,':',$detect_resource_type//system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type/@system_cache__appinfo:get_default_db_obj_url_table_name)" />-->
|
|
|
|
|
- <!--<xsl:attribute name="typeName" select="concat($namespace_prefix,':',substring-after(@system_cache__appinfo:ref,':'))"/>-->
|
|
|
|
|
- <xsl:apply-templates mode="detect_typeName_tr_map_ref" select=".">
|
|
|
|
|
- <xsl:with-param name="detect_resource_type" select="$detect_resource_type"/>
|
|
|
|
|
- </xsl:apply-templates>
|
|
|
|
|
- <!--<xsl:attribute name="xpath" select="@flat_relation_cache_name"/>-->
|
|
|
|
|
- <!-- wykrycie pierwszego @local-name-name -->
|
|
|
|
|
- <xsl:attribute name="flat_relation_cache_xpath" select="@flat_relation_cache_xpath"/>
|
|
|
|
|
- <xsl:attribute name="flat_relation_cache_name" select="@flat_relation_cache_name"/>
|
|
|
|
|
- <!--<xsl:attribute name="system_cache__appinfo:get_default_db_obj_url_table_name" select="$detect_resource_type//system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type/@system_cache__appinfo:get_default_db_obj_url_table_name"/>-->
|
|
|
|
|
- <xsl:choose>
|
|
|
|
|
- <xsl:when test="@system_cache__appinfo:maxOccurs='0' and @system_cache__appinfo:minOccurs='0'">
|
|
|
|
|
- <xsl:message>#90 node=<xsl:value-of select="@system_cache__appinfo:ref"/>; to BYPASS! TODO @system_cache__appinfo:maxOccurs=0 and @system_cache__appinfo:minOccurs </xsl:message>
|
|
|
|
|
- </xsl:when>
|
|
|
|
|
- </xsl:choose>
|
|
|
|
|
- <xsl:apply-templates mode="p5_tr_map:go_recurse_from_root_by_build_element_477_attrs" select="@*"/>
|
|
|
|
|
- <xsl:attribute name="xml_id" select="generate-id()"/>
|
|
|
|
|
- <xsl:message>#125 try to name element <xsl:value-of select="concat($namespace_prefix,':',$detect_resource_type//system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type/@system_cache__appinfo:get_default_db_obj_url_table_name)"/>; </xsl:message>
|
|
|
|
|
- <xsl:apply-templates mode="p5_tr_map:go_recurse_from_root_by_build_element_477_backref" select="."/>
|
|
|
|
|
- <!--<xsl:comment> #73 to check instances tables:
|
|
|
|
|
- <xsl:copy-of select="$detect_resource_type/system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_objects_parent_relations/
|
|
|
|
|
- system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type/p5_tr_map:objects_derivations_list"/>
|
|
|
|
|
- </xsl:comment>-->
|
|
|
|
|
- <!--<prefixed_object_info>
|
|
|
|
|
- <xsl:copy-of select="$detect_resource_type"/>
|
|
|
|
|
- </prefixed_object_info>-->
|
|
|
|
|
- <!--<debug208>
|
|
|
|
|
- <xsl:copy-of select="$detect_resource_type"/>
|
|
|
|
|
- </debug208>-->
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- <xsl:call-template name="p5_tr_map:simpleTypeMakeOgcFilter">
|
|
|
|
|
- <xsl:with-param name="build_complexType" select="$build_complexType"/>
|
|
|
|
|
- </xsl:call-template>
|
|
|
|
|
- <xsl:element name="{concat($namespace_prefix,':',$prefixed_object_info/system_cache__appinfo:prefixed_object_info/@element)}">
|
|
|
|
|
- <xsl:attribute name="xml_id" select="concat(generate-id(),'_child')"/>
|
|
|
|
|
|
|
+ <xsl:attribute name="xml_id" select="generate-id()"/>
|
|
|
|
|
+ <!-- tymczasowe wymuszenie relacji do obiektu glownego na podstawie $detect_resource_type -->
|
|
|
|
|
+ <!-- <xsl:attribute name="typeName" select="p5_tr_map:force_local_typeName(@system_cache__appinfo:ref)"/>-->
|
|
|
|
|
+ <!--<xsl:if test="string-length($detect_resource_type//system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type/@system_cache__appinfo:get_default_db_obj_url_table_name) = 0">
|
|
|
|
|
+ <xsl:message terminate="yes">#174 Bad not found expected for <xsl:value-of select="@system_cache__appinfo:ref"/>; @system_cache__appinfo:get_default_db_obj_url_table_name ! </xsl:message>
|
|
|
|
|
+ </xsl:if>-->
|
|
|
|
|
+ <!--<xsl:if test="string-length($detect_resource_type//system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type/@system_cache__appinfo:get_default_db_obj_url_table_name) <1"><xsl:message terminate="no">#176 ERROR - not required @system_cache__appinfo:get_default_db_obj_url_table_name - to probably fix system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type</xsl:message></xsl:if>-->
|
|
|
|
|
+ <!--<xsl:attribute name="typeNameRealResource" select="concat($namespace_prefix,':',$detect_resource_type//system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type/@system_cache__appinfo:get_default_db_obj_url_table_name)" />-->
|
|
|
|
|
+ <!--<xsl:attribute name="typeName" select="concat($namespace_prefix,':',substring-after(@system_cache__appinfo:ref,':'))"/>-->
|
|
|
|
|
+ <xsl:apply-templates mode="detect_typeName_tr_map_ref" select=".">
|
|
|
|
|
+ <xsl:with-param name="detect_resource_type" select="$detect_resource_type"/>
|
|
|
|
|
+ </xsl:apply-templates>
|
|
|
|
|
+ <!--<xsl:attribute name="xpath" select="@flat_relation_cache_name"/>-->
|
|
|
|
|
+ <!-- wykrycie pierwszego @local-name-name -->
|
|
|
|
|
+ <xsl:attribute name="flat_relation_cache_xpath" select="@flat_relation_cache_xpath"/>
|
|
|
|
|
+ <xsl:attribute name="flat_relation_cache_name" select="@flat_relation_cache_name"/>
|
|
|
|
|
+ <!--<xsl:attribute name="system_cache__appinfo:get_default_db_obj_url_table_name" select="$detect_resource_type//system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type/@system_cache__appinfo:get_default_db_obj_url_table_name"/>-->
|
|
|
|
|
+ <xsl:choose>
|
|
|
|
|
+ <xsl:when test="@system_cache__appinfo:maxOccurs='0' and @system_cache__appinfo:minOccurs='0'">
|
|
|
|
|
+ <xsl:message>#90 node=<xsl:value-of select="@system_cache__appinfo:ref"/>; to BYPASS! TODO @system_cache__appinfo:maxOccurs=0 and @system_cache__appinfo:minOccurs </xsl:message>
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+ </xsl:choose>
|
|
|
<xsl:apply-templates mode="p5_tr_map:go_recurse_from_root_by_build_element_477_attrs" select="@*"/>
|
|
<xsl:apply-templates mode="p5_tr_map:go_recurse_from_root_by_build_element_477_attrs" select="@*"/>
|
|
|
- <xsl:apply-templates>
|
|
|
|
|
|
|
+ <xsl:attribute name="xml_id" select="generate-id()"/>
|
|
|
|
|
+ <xsl:message>#125 try to name element <xsl:value-of select="concat($namespace_prefix,':',$detect_resource_type//system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type/@system_cache__appinfo:get_default_db_obj_url_table_name)"/>; </xsl:message>
|
|
|
|
|
+ <xsl:apply-templates mode="p5_tr_map:go_recurse_from_root_by_build_element_477_backref" select="."/>
|
|
|
|
|
+ <!--<xsl:comment> #73 to check instances tables:
|
|
|
|
|
+ <xsl:copy-of select="$detect_resource_type/system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_objects_parent_relations/
|
|
|
|
|
+ system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type/p5_tr_map:objects_derivations_list"/>
|
|
|
|
|
+ </xsl:comment>-->
|
|
|
|
|
+ <!--<prefixed_object_info>
|
|
|
|
|
+ <xsl:copy-of select="$detect_resource_type"/>
|
|
|
|
|
+ </prefixed_object_info>-->
|
|
|
|
|
+ <!--<debug208>
|
|
|
|
|
+ <xsl:copy-of select="$detect_resource_type"/>
|
|
|
|
|
+ </debug208>-->
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <xsl:call-template name="p5_tr_map:simpleTypeMakeOgcFilter">
|
|
|
<xsl:with-param name="build_complexType" select="$build_complexType"/>
|
|
<xsl:with-param name="build_complexType" select="$build_complexType"/>
|
|
|
- </xsl:apply-templates>
|
|
|
|
|
|
|
+ </xsl:call-template>
|
|
|
|
|
+ <xsl:element name="{concat($namespace_prefix,':',$prefixed_object_info/system_cache__appinfo:prefixed_object_info/@element)}">
|
|
|
|
|
+ <xsl:attribute name="xml_id" select="concat(generate-id(),'_child')"/>
|
|
|
|
|
+ <xsl:apply-templates mode="p5_tr_map:go_recurse_from_root_by_build_element_477_attrs" select="@*"/>
|
|
|
|
|
+ <xsl:apply-templates>
|
|
|
|
|
+ <xsl:with-param name="build_complexType" select="$build_complexType"/>
|
|
|
|
|
+ </xsl:apply-templates>
|
|
|
|
|
+ </xsl:element>
|
|
|
</xsl:element>
|
|
</xsl:element>
|
|
|
- </xsl:element>
|
|
|
|
|
- </xsl:when>
|
|
|
|
|
|
|
+ </xsl:when>
|
|
|
<xsl:otherwise>
|
|
<xsl:otherwise>
|
|
|
<xsl:message>#228 @flat_relation_cache_xpath and @flat_relation_cache_name not set for @id<xsl:value-of select="@id"/></xsl:message>
|
|
<xsl:message>#228 @flat_relation_cache_xpath and @flat_relation_cache_name not set for @id<xsl:value-of select="@id"/></xsl:message>
|
|
|
<xsl:comment>#228 @flat_relation_cache_xpath and @flat_relation_cache_name not set for @id<xsl:value-of select="@id"/></xsl:comment>
|
|
<xsl:comment>#228 @flat_relation_cache_xpath and @flat_relation_cache_name not set for @id<xsl:value-of select="@id"/></xsl:comment>
|
|
@@ -247,54 +247,54 @@
|
|
|
<xsl:comment>#190 from <xsl:value-of select="@system_cache__appinfo:ref"/>; I get prefixed_object_info/@element <xsl:value-of select="$prefixed_object_info/system_cache__appinfo:prefixed_object_info/@element"/>; </xsl:comment>
|
|
<xsl:comment>#190 from <xsl:value-of select="@system_cache__appinfo:ref"/>; I get prefixed_object_info/@element <xsl:value-of select="$prefixed_object_info/system_cache__appinfo:prefixed_object_info/@element"/>; </xsl:comment>
|
|
|
<xsl:choose>
|
|
<xsl:choose>
|
|
|
<xsl:when test="@flat_relation_cache_xpath and @flat_relation_cache_name">
|
|
<xsl:when test="@flat_relation_cache_xpath and @flat_relation_cache_name">
|
|
|
- <xsl:element name="RelatedFeatureLoop">
|
|
|
|
|
- <xsl:attribute name="xml_id" select="generate-id()"/>
|
|
|
|
|
- <!-- tymczasowe wymuszenie relacji do obiektu glownego na podstawie $detect_resource_type -->
|
|
|
|
|
- <!--<xsl:attribute name="typeName" select="p5_tr_map:force_local_typeName(@system_cache__appinfo:ref)"/>-->
|
|
|
|
|
-
|
|
|
|
|
- <!--<xsl:attribute name="typeNameRealResource" select="concat($namespace_prefix,':',$detect_resource_type//system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type/@system_cache__appinfo:get_default_db_obj_url_table_name)" />-->
|
|
|
|
|
- <!--<xsl:attribute name="typeName" select="concat($namespace_prefix,':',substring-after(@system_cache__appinfo:ref,':'))"/>-->
|
|
|
|
|
- <xsl:apply-templates mode="detect_typeName_tr_map_ref" select=".">
|
|
|
|
|
- <xsl:with-param name="detect_resource_type" select="$detect_resource_type"/>
|
|
|
|
|
- </xsl:apply-templates>
|
|
|
|
|
- <!--<xsl:attribute name="xpath" select="@flat_relation_cache_name"/>-->
|
|
|
|
|
- <!-- wykrycie pierwszego @local-name-name -->
|
|
|
|
|
- <xsl:attribute name="flat_relation_cache_xpath" select="@flat_relation_cache_xpath"/>
|
|
|
|
|
- <xsl:attribute name="flat_relation_cache_name" select="@flat_relation_cache_name"/>
|
|
|
|
|
- <xsl:attribute name="system_cache__appinfo:get_default_db_obj_url_table_name" select="$detect_resource_type//system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type/@system_cache__appinfo:get_default_db_obj_url_table_name"/>
|
|
|
|
|
- <xsl:copy-of select="@system_cache__appinfo:loop_id"/>
|
|
|
|
|
- <xsl:choose>
|
|
|
|
|
- <xsl:when test="@system_cache__appinfo:maxOccurs='0' and @system_cache__appinfo:minOccurs='0'">
|
|
|
|
|
- <xsl:message>#90 node=<xsl:value-of select="@system_cache__appinfo:ref"/>; to BYPASS! TODO @system_cache__appinfo:maxOccurs=0 and @system_cache__appinfo:minOccurs </xsl:message>
|
|
|
|
|
- </xsl:when>
|
|
|
|
|
- </xsl:choose>
|
|
|
|
|
- <xsl:apply-templates mode="p5_tr_map:go_recurse_from_root_by_build_element_477_attrs" select="@*"/>
|
|
|
|
|
- <xsl:attribute name="xml_id" select="generate-id()"/>
|
|
|
|
|
- <xsl:message>#125 try to name element <xsl:value-of select="concat($namespace_prefix,':',$detect_resource_type//system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type/@system_cache__appinfo:get_default_db_obj_url_table_name)"/>; </xsl:message>
|
|
|
|
|
- <xsl:apply-templates mode="p5_tr_map:go_recurse_from_root_by_build_element_477_backref" select="."/>
|
|
|
|
|
- <!--<xsl:comment> #73 to check instances tables:
|
|
|
|
|
- <xsl:copy-of select="$detect_resource_type/system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_objects_parent_relations/
|
|
|
|
|
- system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type/p5_tr_map:objects_derivations_list"/>
|
|
|
|
|
- </xsl:comment>-->
|
|
|
|
|
- <!--<prefixed_object_info>
|
|
|
|
|
- <xsl:copy-of select="$detect_resource_type"/>
|
|
|
|
|
- </prefixed_object_info>-->
|
|
|
|
|
- <xsl:call-template name="p5_tr_map:simpleTypeMakeOgcFilter">
|
|
|
|
|
- <xsl:with-param name="build_complexType" select="$build_complexType"/>
|
|
|
|
|
- </xsl:call-template>
|
|
|
|
|
- <xsl:element name="{concat($namespace_prefix,':',$prefixed_object_info/system_cache__appinfo:prefixed_object_info/@element)}">
|
|
|
|
|
|
|
+ <xsl:element name="RelatedFeatureLoop">
|
|
|
<xsl:attribute name="xml_id" select="generate-id()"/>
|
|
<xsl:attribute name="xml_id" select="generate-id()"/>
|
|
|
|
|
+ <!-- tymczasowe wymuszenie relacji do obiektu glownego na podstawie $detect_resource_type -->
|
|
|
|
|
+ <!--<xsl:attribute name="typeName" select="p5_tr_map:force_local_typeName(@system_cache__appinfo:ref)"/>-->
|
|
|
|
|
+
|
|
|
|
|
+ <!--<xsl:attribute name="typeNameRealResource" select="concat($namespace_prefix,':',$detect_resource_type//system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type/@system_cache__appinfo:get_default_db_obj_url_table_name)" />-->
|
|
|
|
|
+ <!--<xsl:attribute name="typeName" select="concat($namespace_prefix,':',substring-after(@system_cache__appinfo:ref,':'))"/>-->
|
|
|
|
|
+ <xsl:apply-templates mode="detect_typeName_tr_map_ref" select=".">
|
|
|
|
|
+ <xsl:with-param name="detect_resource_type" select="$detect_resource_type"/>
|
|
|
|
|
+ </xsl:apply-templates>
|
|
|
|
|
+ <!--<xsl:attribute name="xpath" select="@flat_relation_cache_name"/>-->
|
|
|
|
|
+ <!-- wykrycie pierwszego @local-name-name -->
|
|
|
|
|
+ <xsl:attribute name="flat_relation_cache_xpath" select="@flat_relation_cache_xpath"/>
|
|
|
|
|
+ <xsl:attribute name="flat_relation_cache_name" select="@flat_relation_cache_name"/>
|
|
|
|
|
+ <xsl:attribute name="system_cache__appinfo:get_default_db_obj_url_table_name" select="$detect_resource_type//system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type/@system_cache__appinfo:get_default_db_obj_url_table_name"/>
|
|
|
|
|
+ <xsl:copy-of select="@system_cache__appinfo:loop_id"/>
|
|
|
|
|
+ <xsl:choose>
|
|
|
|
|
+ <xsl:when test="@system_cache__appinfo:maxOccurs='0' and @system_cache__appinfo:minOccurs='0'">
|
|
|
|
|
+ <xsl:message>#90 node=<xsl:value-of select="@system_cache__appinfo:ref"/>; to BYPASS! TODO @system_cache__appinfo:maxOccurs=0 and @system_cache__appinfo:minOccurs </xsl:message>
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+ </xsl:choose>
|
|
|
<xsl:apply-templates mode="p5_tr_map:go_recurse_from_root_by_build_element_477_attrs" select="@*"/>
|
|
<xsl:apply-templates mode="p5_tr_map:go_recurse_from_root_by_build_element_477_attrs" select="@*"/>
|
|
|
- <!--<xsl:apply-templates/>-->
|
|
|
|
|
|
|
+ <xsl:attribute name="xml_id" select="generate-id()"/>
|
|
|
|
|
+ <xsl:message>#125 try to name element <xsl:value-of select="concat($namespace_prefix,':',$detect_resource_type//system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type/@system_cache__appinfo:get_default_db_obj_url_table_name)"/>; </xsl:message>
|
|
|
|
|
+ <xsl:apply-templates mode="p5_tr_map:go_recurse_from_root_by_build_element_477_backref" select="."/>
|
|
|
|
|
+ <!--<xsl:comment> #73 to check instances tables:
|
|
|
|
|
+ <xsl:copy-of select="$detect_resource_type/system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_objects_parent_relations/
|
|
|
|
|
+ system_cache__resources_tree_generate_xsl_required_occurs_raport:detect_resource_type/p5_tr_map:objects_derivations_list"/>
|
|
|
|
|
+ </xsl:comment>-->
|
|
|
|
|
+ <!--<prefixed_object_info>
|
|
|
|
|
+ <xsl:copy-of select="$detect_resource_type"/>
|
|
|
|
|
+ </prefixed_object_info>-->
|
|
|
|
|
+ <xsl:call-template name="p5_tr_map:simpleTypeMakeOgcFilter">
|
|
|
|
|
+ <xsl:with-param name="build_complexType" select="$build_complexType"/>
|
|
|
|
|
+ </xsl:call-template>
|
|
|
|
|
+ <xsl:element name="{concat($namespace_prefix,':',$prefixed_object_info/system_cache__appinfo:prefixed_object_info/@element)}">
|
|
|
|
|
+ <xsl:attribute name="xml_id" select="generate-id()"/>
|
|
|
|
|
+ <xsl:apply-templates mode="p5_tr_map:go_recurse_from_root_by_build_element_477_attrs" select="@*"/>
|
|
|
|
|
+ <!--<xsl:apply-templates/>-->
|
|
|
|
|
+ </xsl:element>
|
|
|
</xsl:element>
|
|
</xsl:element>
|
|
|
- </xsl:element>
|
|
|
|
|
- </xsl:when>
|
|
|
|
|
|
|
+ </xsl:when>
|
|
|
<xsl:otherwise>
|
|
<xsl:otherwise>
|
|
|
<xsl:message>#293 @flat_relation_cache_xpath and @flat_relation_cache_name not set for @id<xsl:value-of select="@id"/></xsl:message>
|
|
<xsl:message>#293 @flat_relation_cache_xpath and @flat_relation_cache_name not set for @id<xsl:value-of select="@id"/></xsl:message>
|
|
|
<xsl:comment>#293 @flat_relation_cache_xpath and @flat_relation_cache_name not set for @id<xsl:value-of select="@id"/></xsl:comment>
|
|
<xsl:comment>#293 @flat_relation_cache_xpath and @flat_relation_cache_name not set for @id<xsl:value-of select="@id"/></xsl:comment>
|
|
|
</xsl:otherwise>
|
|
</xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
- </xsl:template>
|
|
|
|
|
|
|
+ </xsl:template>
|
|
|
|
|
|
|
|
<xsl:template mode="p5_tr_map:go_recurse_from_root_by_build_element_477_backref" match="*">
|
|
<xsl:template mode="p5_tr_map:go_recurse_from_root_by_build_element_477_backref" match="*">
|
|
|
<!-- podmieniamy na relacje od drugiej strony-->
|
|
<!-- podmieniamy na relacje od drugiej strony-->
|
|
@@ -312,7 +312,7 @@
|
|
|
<!-- <xsl:attribute name="xpath" select="'ID'"/>
|
|
<!-- <xsl:attribute name="xpath" select="'ID'"/>
|
|
|
<xsl:attribute name="xpath_value" select="'ID'"/>-->
|
|
<xsl:attribute name="xpath_value" select="'ID'"/>-->
|
|
|
<!--<xsl:attribute name="debug" select="'#99 this is fake TODO'"/>-->
|
|
<!--<xsl:attribute name="debug" select="'#99 this is fake TODO'"/>-->
|
|
|
- <xsl:message terminate="yes">#99 for @system_cache__appinfo:id=<xsl:value-of select="@system_cache__appinfo:id"/>; @system_cache__appinfo:ref=<xsl:value-of select="@system_cache__appinfo:ref"/> is empty definition for @flat_relation_cache_xpath or @flat_relation_cache_name </xsl:message>
|
|
|
|
|
|
|
+ <xsl:message terminate="yes">#99 TODO TERMINATE for @system_cache__appinfo:id=<xsl:value-of select="@system_cache__appinfo:id"/>; @system_cache__appinfo:ref=<xsl:value-of select="@system_cache__appinfo:ref"/> is empty definition for @flat_relation_cache_xpath or @flat_relation_cache_name </xsl:message>
|
|
|
</xsl:otherwise>
|
|
</xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
|
|
|