| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <?xml version="1.0" encoding="UTF-8"?>
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
- xmlns:p5_simpleSchema_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/p5_simpleSchema_map.xsd"
- xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
- exclude-result-prefixes="xs"
- version="2.0">
-
-
-
-
-
-
-
-
- <xsl:function name="p5_tr_map:element-filename.complete">
- <xsl:param name="objectType"/>
- <xsl:param name="parent_type"/>
- <xsl:value-of select="concat(p5_tr_map:element-filename($objectType,$parent_type),'.complete')"/>
- </xsl:function>
-
- <xsl:function name="p5_tr_map:element-filename.symlink.complete">
- <xsl:param name="objectType"/>
- <xsl:param name="parent_type"/>
- <xsl:value-of select="concat(p5_tr_map:element-filename.symlink($objectType,$parent_type),'.complete')"/>
- </xsl:function>
-
- <xsl:function name="p5_tr_map:element-filename">
- <xsl:param name="objectType"/><!-- go_recurse_from_root_by_build_element_cache , go_recurse_from_root_by_build_complexType , -->
- <xsl:param name="parent_type"/>
-
- <xsl:choose>
- <xsl:when test="$objectType='go_recurse_from_root_by_build_element_cache'">
- <xsl:value-of select="concat($default_db.instance.xml,'/p5_tr_map/element-',system_cache__appinfo:escape_object_prefix_to_string($parent_type),'.xml')"/>
- </xsl:when>
- <xsl:when test="$objectType='element'">
- <xsl:value-of select="concat($default_db.instance.xml,'/p5_tr_map/element-',system_cache__appinfo:escape_object_prefix_to_string($parent_type),'.xml')"/>
- </xsl:when>
- <xsl:when test="$objectType='go_recurse_from_root_by_build_complexType_cache'">
- <xsl:value-of select="concat($default_db.instance.xml,'/p5_tr_map/complexType-',system_cache__appinfo:escape_object_prefix_to_string($parent_type),'.xml')"/>
- </xsl:when>
- <xsl:when test="$objectType='complexType'">
- <xsl:value-of select="concat($default_db.instance.xml,'/p5_tr_map/complexType-',system_cache__appinfo:escape_object_prefix_to_string($parent_type),'.xml')"/>
- </xsl:when>
- <xsl:otherwise><xsl:message terminate="yes">#833 unknown type $objectType=<xsl:value-of select="$objectType"/></xsl:message></xsl:otherwise>
- </xsl:choose>
- </xsl:function>
-
-
-
- <xsl:function name="p5_tr_map:element-filename.symlink">
- <xsl:param name="objectType"/><!-- go_recurse_from_root_by_build_element_cache , go_recurse_from_root_by_build_complexType , -->
- <xsl:param name="parent_type"/>
-
- <xsl:choose>
- <xsl:when test="$objectType='go_recurse_from_root_by_build_element_cache'">
- <xsl:value-of select="concat($default_db.instance.xml.symlink,'/p5_tr_map/element-',system_cache__appinfo:escape_object_prefix_to_string($parent_type),'.xml')"/>
- </xsl:when>
- <xsl:when test="$objectType='go_recurse_from_root_by_build_complexType_cache'">
- <xsl:value-of select="concat($default_db.instance.xml.symlink,'/p5_tr_map/complexType-',system_cache__appinfo:escape_object_prefix_to_string($parent_type),'.xml')"/>
- </xsl:when>
- <xsl:otherwise><xsl:message terminate="yes">#833 unknown type $objectType=<xsl:value-of select="$objectType"/></xsl:message></xsl:otherwise>
- </xsl:choose>
- </xsl:function>
-
- <xsl:function name="p5_tr_map:element-filename-prefixed.symlink"> <!-- use for element only -->
- <xsl:param name="parent_type"/>
- <xsl:variable name="prefixed_object_info">
- <xsl:call-template name="system_cache__appinfo:prefixed_object_info">
- <xsl:with-param name="prefixed_object" select="$parent_type"/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:value-of select="concat($default_db.instance.xml.symlink,'/p5_tr_map/',$prefixed_object_info/system_cache__appinfo:prefixed_object_info/@prefix,'/',$prefixed_object_info/system_cache__appinfo:prefixed_object_info/@element,'.xml')"/>
- </xsl:function>
-
- <xsl:function name="p5_tr_map:element-filename-prefixed"> <!-- use for element only -->
- <xsl:param name="parent_type"/>
- <xsl:variable name="prefixed_object_info">
- <xsl:call-template name="system_cache__appinfo:prefixed_object_info">
- <xsl:with-param name="prefixed_object" select="$parent_type"/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:value-of select="concat($default_db.instance.xml,'/p5_tr_map/',$prefixed_object_info/system_cache__appinfo:prefixed_object_info/@prefix,'/',$prefixed_object_info/system_cache__appinfo:prefixed_object_info/@element,'.xml')"/>
- </xsl:function>
-
-
- <xsl:function name="p5_tr_map:element-filename-prefixed.complete"> <!-- use for element only -->
- <xsl:param name="parent_type"/>
- <xsl:value-of select=" concat($parent_type,'.complete')"/>
- </xsl:function>
-
-
- </xsl:stylesheet>
|