|
|
@@ -0,0 +1,597 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<xsl:stylesheet xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
|
|
|
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
|
+ xmlns:gml="http://www.opengis.net/gml"
|
|
|
+ xmlns:p5bws="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/WPS_Functions.xsd"
|
|
|
+ xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
|
|
|
+ xmlns:bcgtht="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/bocian-graph-to-html/bcgtht.xsd"
|
|
|
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
+ xmlns:default_db__x3A__BI_audit_ENERGA_PRACOWNICY="https://biuro.biall-net.pl/wfs/default_db/BI_audit_ENERGA_PRACOWNICY"
|
|
|
+ xmlns:p5="https://biuro.biall-net.pl/wfs"
|
|
|
+ xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object="https://biuro.biall-net.pl/wfs/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"
|
|
|
+ xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row="https://biuro.biall-net.pl/wfs/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row"
|
|
|
+ xmlns:default_db__x3A__BI_audit_KRS="https://biuro.biall-net.pl/wfs/default_db/BI_audit_KRS"
|
|
|
+ xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI="https://biuro.biall-net.pl/wfs/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI"
|
|
|
+
|
|
|
+ xmlns:default_db__x3A__BI_audit_MSIG="https://biuro.biall-net.pl/wfs/default_db/BI_audit_MSIG"
|
|
|
+ xmlns:default_db__x3A__BI_audit_CEIDG="https://biuro.biall-net.pl/wfs/default_db/BI_audit_CEIDG"
|
|
|
+ xmlns:system_cache__dita="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/dita.xsd"
|
|
|
+ xmlns:default_db__x3A__BI_audit_KRS_person="https://biuro.biall-net.pl/wfs/default_db/BI_audit_KRS_person"
|
|
|
+ xmlns:default_db__x3A__BI_audit_taxpayer="https://biuro.biall-net.pl/wfs/default_db/BI_audit_taxpayer"
|
|
|
+ xmlns:default_db__x3A__BI_audit_KRS_company="https://biuro.biall-net.pl/wfs/default_db/BI_audit_KRS_company"
|
|
|
+ xmlns:default_db__x3A__BI_audit_MSIG_company="https://biuro.biall-net.pl/wfs/default_db/BI_audit_MSIG_company"
|
|
|
+ xmlns:default_db__x3A__TERYT_adresy="https://biuro.biall-net.pl/wfs/default_db/TERYT_adresy"
|
|
|
+ xmlns:default_db__x3A__BI_audit_MSIG_person="https://biuro.biall-net.pl/wfs/default_db/BI_audit_MSIG_person"
|
|
|
+ xmlns:default_db__x3A__BI_audit_operational_raport_note="https://biuro.biall-net.pl/wfs/default_db/BI_audit_operational_raport_note"
|
|
|
+ xmlns:default_db__x3A__BI_audit_MSIG_address="https://biuro.biall-net.pl/wfs/default_db/BI_audit_MSIG_address"
|
|
|
+ xmlns:yed="http://www.yworks.com/xml/yed/3"
|
|
|
+ exclude-result-prefixes="xs"
|
|
|
+ version="2.0">
|
|
|
+
|
|
|
+ <xsl:import href="bcgtht.tree_to_dita.import.xsl"/>
|
|
|
+
|
|
|
+ <xsl:output indent="yes"/>
|
|
|
+ <xsl:strip-space elements="*"/> <!-- -->
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:include href="../p5/p5.primaryKey.xsl"/>
|
|
|
+ <xsl:include href="bcgtht.tree_to_dita.src_fid_analys.xsl"/>
|
|
|
+ <xsl:include href="bcgtht.tree_to_dita.applying_analys.xsl"/>
|
|
|
+ <xsl:include href="bcgtht.tree_to_dita.clousure.xsl"/>
|
|
|
+ <xsl:include href="bcgtht.tree_to_dita.clousure.analys.xsl"/>
|
|
|
+ <xsl:include href="bcgtht.tree_to_dita.clousure.analys.merge.xsl"/>
|
|
|
+ <xsl:include href="bcgtht.tree_to_dita.clousure.analys.merge.apply.xsl"/>
|
|
|
+ <xsl:include href="bcgtht.tree_to_dita.clousure.analys.merge.apply.rename.xsl"/>
|
|
|
+ <xsl:include href="../yed/p5yed.yed.graphml.xsl"/>
|
|
|
+
|
|
|
+ <xsl:param name="bcgtht:debug" select="4"/>
|
|
|
+ <xsl:param name="bcgtht:repository" select="'/Users/a.binder/Downloads'"/> <!-- select="concat($temp,'/bcgtht.repository'" -->
|
|
|
+ <xsl:param name="bcgtht.clousure.xml" select="concat($bcgtht:repository,'/bcgtht.clousure.xml')"/>
|
|
|
+ <xsl:param name="bcgtht.clousure.analys.xml" select="concat($bcgtht:repository,'/bcgtht.clousure.analys.xml')"/>
|
|
|
+ <xsl:param name="bcgtht.src_fid_analys.xml" select="concat($bcgtht:repository,'/bcgtht.src_fid_analys.xml')"/>
|
|
|
+ <xsl:param name="bcgtht.applying_analys.xml" select="concat($bcgtht:repository,'/bcgtht.applying_analys.xml')"/>
|
|
|
+ <xsl:param name="bcgtht.applying_analys.merge.xml" select="concat($bcgtht:repository,'/bcgtht.applying_analys.merge.xml')"/>
|
|
|
+ <xsl:param name="bcgtht.applying_analys.merge.apply.xml" select="concat($bcgtht:repository,'/bcgtht.applying_analys.merge.apply.xml')"/>
|
|
|
+ <xsl:param name="bcgtht.applying_analys.merge.apply.rename.xml" select="concat($bcgtht:repository,'/bcgtht.applying_analys.merge.apply.rename.xml')"/>
|
|
|
+ <xsl:param name="bcgtht.yed.graphml" select="concat($bcgtht:repository,'/bcgtht.yed.graphml')"/>
|
|
|
+ <xsl:param name="yed.clousure.analys.merge.apply.graphml" select="concat($bcgtht:repository,'/yed.clousure.analys.merge.apply.graphml')"/>
|
|
|
+ <xsl:param name="bcgtht.applying_analys.debug.xml" select="concat($bcgtht:repository,'/bcgtht.applying_analys.debug.xml')"/>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <!-- to be used from tree_to_dita.xsl -->
|
|
|
+
|
|
|
+ <xsl:template mode="bocian-graph-2-html.preprocess" match="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA[@fid]|BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[@fid]">
|
|
|
+ <xsl:param name="fileindex" select="@fid"/>
|
|
|
+ <!--<xsl:variable name="fileindex" select="@fid"/>-->
|
|
|
+ <xsl:result-document href="{$ditadir}/bocian-graph-2-html/{$fileindex}.xml" omit-xml-declaration="yes">
|
|
|
+ <wfs:FeatureCollection xmlns:wfs="http://www.opengis.net/wfs" xmlns="http://www.opengis.net/wfs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:default_db__x3A__BI_audit_ENERGA_PRACOWNICY="https://biuro.biall-net.pl/wfs/default_db/BI_audit_ENERGA_PRACOWNICY" xmlns:p5="https://biuro.biall-net.pl/wfs" xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object="https://biuro.biall-net.pl/wfs/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object" xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row="https://biuro.biall-net.pl/wfs/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row" xmlns:default_db__x3A__BI_audit_KRS="https://biuro.biall-net.pl/wfs/default_db/BI_audit_KRS" xmlns:default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI="https://biuro.biall-net.pl/wfs/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI" xmlns:default_db__x3A__BI_audit_MSIG="https://biuro.biall-net.pl/wfs/default_db/BI_audit_MSIG" xmlns:default_db__x3A__BI_audit_CEIDG="https://biuro.biall-net.pl/wfs/default_db/BI_audit_CEIDG" xsi:schemaLocation="https://biuro.biall-net.pl/wfs/default_db/BI_audit_ENERGA_PRACOWNICY https://biuro.biall-net.pl/dev-pl/se-projects/bocian/SE//wfs-data.php/default_db/?SERVICE=WFS&VERSION=1.0.0&TYPENAME=default_db__x3A__BI_audit_ENERGA_PRACOWNICY:BI_audit_ENERGA_PRACOWNICY&REQUEST=DescribeFeatureType" numberMatched="unknown" numberReturned="1" next="https://biuro.biall-net.pl/dev-pl/se-projects/bocian/SE//wfs-data.php/default_db/?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=default_db__x3A__BI_audit_ENERGA_PRACOWNICY%3ABI_audit_ENERGA_PRACOWNICY&SRSNAME=EPSG%3A3003&sortBy=ID+D&maxFeatures=20&startIndex=20">
|
|
|
+
|
|
|
+ <xsl:apply-templates mode="bocian-graph-2-html.preprocess.child" select="."/>
|
|
|
+
|
|
|
+ <!-- strategy
|
|
|
+ wszystkie wyjscia od pracownika
|
|
|
+ row_object
|
|
|
+ row
|
|
|
+ row_object
|
|
|
+ KONTR
|
|
|
+
|
|
|
+
|
|
|
+ -->
|
|
|
+ </wfs:FeatureCollection>
|
|
|
+ </xsl:result-document>
|
|
|
+
|
|
|
+ <bocian-graph-2-html xsl:exclude-result-prefixes="p5 bcgtht" xsl:xpath-default-namespace="" srcfile="{$ditadir}/bocian-graph-2-html/{$fileindex}.xml" dstfile="{$ditadir}/bocian-graph-2-html/{$fileindex}.png.xml" fileindex="{$fileindex}" ditadir="{$ditadir}" />
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
+ <xsl:template mode="bocian-graph-2-html.preprocess.child" match="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA">
|
|
|
+
|
|
|
+
|
|
|
+ <!--<xsl:apply-templates mode="#current" select="*"/>--> <!-- [1] -->
|
|
|
+ <xsl:variable name="bcgtht:src_fid_analys">
|
|
|
+ <xsl:apply-templates mode="bcgtht:src_fid_analys" select="."/>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:variable name="bcgtht:clousure">
|
|
|
+ <xsl:apply-templates mode="bcgtht:clousure" select="."/>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <xsl:variable name="bcgtht:clousure.analys">
|
|
|
+ <xsl:call-template name="bcgtht:clousure.analys">
|
|
|
+ <xsl:with-param name="bcgtht:clousure" select="$bcgtht:clousure"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <xsl:variable name="bcgtht:clousure.analys.merge">
|
|
|
+ <xsl:apply-templates mode="bcgtht:clousure.analys.merge" select="$bcgtht:clousure.analys"/>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <xsl:variable name="bcgtht:clousure.analys.merge.apply">
|
|
|
+ <xsl:apply-templates mode="bcgtht:clousure.analys.merge.apply" select="$bcgtht:clousure.analys.merge"/>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <xsl:variable name="bcgtht:clousure.analys.merge.apply.rename">
|
|
|
+ <xsl:apply-templates mode="bcgtht:clousure.analys.merge.apply.rename" select="$bcgtht:clousure.analys.merge.apply"/>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <xsl:variable name="yed:clousure.analys.merge.apply.graphml">
|
|
|
+ <!--<xsl:apply-templates mode="yed:graphml" select="$bcgtht:clousure.analys.merge.apply"/>-->
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <xsl:variable name="yed:graphml">
|
|
|
+ <xsl:apply-templates mode="yed:graphml" select="$bcgtht:clousure.analys"/>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:variable name="bcgtht:clousure.analys.debug">
|
|
|
+ <xsl:apply-templates mode="bcgtht:clousure.analys.debug" select="$bcgtht:clousure.analys"/>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <xsl:copy-of select="$bcgtht:src_fid_analys" copy-namespaces="no"/>
|
|
|
+ <xsl:variable name="bcgtht:applying_analys">
|
|
|
+ <xsl:call-template name="bcgtht:applying_analys">
|
|
|
+ <xsl:with-param name="bcgtht:src_fid_analys" select="$bcgtht:src_fid_analys"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:if test="number($bcgtht:debug) > 3">
|
|
|
+ <xsl:message>#129 number($bcgtht:debug = <xsl:value-of select="$bcgtht:debug"/>) > 3 bcgtht:repository = <xsl:value-of select="$bcgtht:repository"/>; </xsl:message>
|
|
|
+ <xsl:message> result-document href="<xsl:value-of select="$bcgtht.clousure.xml"/></xsl:message>
|
|
|
+ <xsl:result-document href="{$bcgtht.clousure.xml}">
|
|
|
+ <xsl:copy-of select="$bcgtht:clousure"/>
|
|
|
+ </xsl:result-document>
|
|
|
+ <xsl:message> result-document href="<xsl:value-of select="$bcgtht.clousure.analys.xml"/></xsl:message>
|
|
|
+ <xsl:result-document href="{$bcgtht.clousure.analys.xml}">
|
|
|
+ <xsl:copy-of select="$bcgtht:clousure.analys"/>
|
|
|
+ </xsl:result-document>
|
|
|
+
|
|
|
+ <xsl:message> result-document href="<xsl:value-of select="$bcgtht.src_fid_analys.xml"/></xsl:message>
|
|
|
+ <xsl:result-document href="{$bcgtht.src_fid_analys.xml}">
|
|
|
+ <xsl:copy-of select="$bcgtht:src_fid_analys"/>
|
|
|
+ </xsl:result-document>
|
|
|
+
|
|
|
+ <xsl:message> result-document href="<xsl:value-of select="$bcgtht.applying_analys.xml"/></xsl:message>
|
|
|
+ <xsl:result-document href="{$bcgtht.applying_analys.xml}">
|
|
|
+ <xsl:copy-of select="$bcgtht:applying_analys"/>
|
|
|
+ </xsl:result-document>
|
|
|
+
|
|
|
+ <xsl:message> result-document href="<xsl:value-of select="$bcgtht.applying_analys.merge.xml"/></xsl:message>
|
|
|
+ <xsl:result-document href="{$bcgtht.applying_analys.merge.xml}">
|
|
|
+ <xsl:copy-of select="$bcgtht:clousure.analys.merge"/>
|
|
|
+ </xsl:result-document>
|
|
|
+
|
|
|
+ <xsl:message> result-document href="<xsl:value-of select="$bcgtht.applying_analys.merge.apply.xml"/></xsl:message>
|
|
|
+ <xsl:result-document href="{$bcgtht.applying_analys.merge.apply.xml}">
|
|
|
+ <xsl:copy-of select="$bcgtht:clousure.analys.merge.apply"/>
|
|
|
+ </xsl:result-document>
|
|
|
+
|
|
|
+ <xsl:message> result-document href="<xsl:value-of select="$bcgtht.applying_analys.merge.apply.rename.xml"/></xsl:message>
|
|
|
+ <xsl:result-document href="{$bcgtht.applying_analys.merge.apply.rename.xml}">
|
|
|
+ <xsl:copy-of select="$bcgtht:clousure.analys.merge.apply.rename"/>
|
|
|
+ </xsl:result-document>
|
|
|
+
|
|
|
+ <xsl:message> result-document href="<xsl:value-of select="$bcgtht.yed.graphml"/></xsl:message>
|
|
|
+ <xsl:result-document href="{$bcgtht.yed.graphml}">
|
|
|
+ <xsl:copy-of select="$yed:graphml"/>
|
|
|
+ </xsl:result-document>
|
|
|
+
|
|
|
+ <xsl:message> result-document href="<xsl:value-of select="$yed.clousure.analys.merge.apply.graphml"/></xsl:message>
|
|
|
+ <xsl:result-document href="{$yed.clousure.analys.merge.apply.graphml}">
|
|
|
+ <xsl:copy-of select="$yed:clousure.analys.merge.apply.graphml"/>
|
|
|
+ </xsl:result-document>
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:message> result-document href="<xsl:value-of select="$bcgtht.applying_analys.debug.xml"/></xsl:message>
|
|
|
+ <xsl:result-document href="{$bcgtht.applying_analys.debug.xml}">
|
|
|
+ <xsl:copy-of select="$bcgtht:clousure.analys.debug"/>
|
|
|
+ </xsl:result-document>
|
|
|
+
|
|
|
+ </xsl:if>
|
|
|
+
|
|
|
+ <!--<xsl:copy-of select="$applying_analys" copy-namespaces="no"/>-->
|
|
|
+ <!--<bocian-graph-2-html.preprocess.applying_analys>-->
|
|
|
+ <xsl:apply-templates mode="bcgtht:applying_analys" select="$bcgtht:applying_analys"/>
|
|
|
+ <!--</bocian-graph-2-html.preprocess.applying_analys>-->
|
|
|
+
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:template mode="bocian-graph-2-html.preprocess.from_analys" match="*">
|
|
|
+ <xsl:copy copy-namespaces="no">
|
|
|
+ <xsl:copy-of select="@*"/>
|
|
|
+ <xsl:apply-templates mode="#current"/>
|
|
|
+ </xsl:copy>
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:function name="system_cache__dita:bocian.cached">
|
|
|
+ <system_cache__dita:bocian.cached>
|
|
|
+ <fid/>
|
|
|
+ </system_cache__dita:bocian.cached>
|
|
|
+ </xsl:function>
|
|
|
+
|
|
|
+ <xsl:function name="system_cache__dita:bocian.cached">
|
|
|
+ <xsl:param name="system_cache__dita:bocian.cached"/>
|
|
|
+ <xsl:param name="fid"/>
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$system_cache__dita:bocian.cached//fid[@fid=$fid]">
|
|
|
+ <xsl:message>#158 cached node <xsl:value-of select="$fid"/> - bypasiing </xsl:message>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <system_cache__dita:bocian.cached>
|
|
|
+ <xsl:for-each select="$system_cache__dita:bocian.cached//fid">
|
|
|
+ <xsl:copy-of select="." copy-namespaces="no"/>
|
|
|
+ </xsl:for-each>
|
|
|
+ </system_cache__dita:bocian.cached>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:function>
|
|
|
+
|
|
|
+
|
|
|
+ <!--<xsl:template name="bocian-graph-2-html.applying_analys">
|
|
|
+ <xsl:param name="dst_fid.not.following.count" required="yes"/>
|
|
|
+ <xsl:param name="dst_fid.following.count" required="yes"/>
|
|
|
+ <xsl:param name="src_fid_analys" required="yes"/>
|
|
|
+ <xsl:param name="src_fid" required="yes"/>
|
|
|
+ <xsl:param name="src_fid.pos" />
|
|
|
+
|
|
|
+ <xsl:param name="dst_fid.not.following.pos" select="1"/>
|
|
|
+ <xsl:param name="dst_fid.following.pos" select="1"/>
|
|
|
+ <xsl:param name="last_call"/>
|
|
|
+ <xsl:param name="last_call.pos" />
|
|
|
+ <xsl:param name="last_call.pos.count" />
|
|
|
+ <bocian-graph-2-html.applying_analys>
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="not($dst_fid.not.following.count > 0) and not($dst_fid.following.count > 0)">
|
|
|
+ <TODO>not($dst_fid.not.following.count > 0) and not($dst_fid.following.count > 0)</TODO>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$dst_fid.not.following.pos < $dst_fid.not.following.count and not($last_call='not.following')">
|
|
|
+ <xsl:for-each select="$src_fid/dst_fid[not(following-sibling)][$dst_fid.not.following.pos]">
|
|
|
+ <dst_fid_not_following-sibling>
|
|
|
+ <xsl:copy copy-namespaces="no">
|
|
|
+ <xsl:copy-of select="@*"/>
|
|
|
+ </xsl:copy>
|
|
|
+ </dst_fid_not_following-sibling>
|
|
|
+
|
|
|
+ <xsl:call-template name="bocian-graph-2-html.applying_analys">
|
|
|
+ <xsl:with-param name="src_fid_analys" select="$src_fid_analys"/>
|
|
|
+ <xsl:with-param name="dst_fid.not.following.count" select="$dst_fid.not.following.count"/>
|
|
|
+ <xsl:with-param name="dst_fid.following.count" select="$dst_fid.following.count"/>
|
|
|
+ <xsl:with-param name="src_fid.pos" select="$src_fid.pos"/>
|
|
|
+ <xsl:with-param name="src_fid" select="$src_fid"/>
|
|
|
+ <xsl:with-param name="dst_fid.not.following.pos" select="$dst_fid.not.following.pos"/>
|
|
|
+ <xsl:with-param name="dst_fid.following.pos" select="$dst_fid.following.pos"/>
|
|
|
+ <xsl:with-param name="last_call" select="'not.following'"/>
|
|
|
+ <xsl:with-param name="last_call.pos" select="1"/>
|
|
|
+ <xsl:with-param name="last_call.pos.count" select="count($src_fid/dst_fid[not(following-sibling)][$dst_fid.not.following.pos]/*)"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:for-each>
|
|
|
+
|
|
|
+ </xsl:when>
|
|
|
+ <!-\-<xsl:when test="$dst_fid.following.pos < $dst_fid.following.count and $last_call = 'not.following'">
|
|
|
+ <xsl:for-each select="$src_fid/dst_fid[following-sibling][$dst_fid.following.pos]/*">
|
|
|
+ <dst_fid_not_following-sibling>
|
|
|
+ <xsl:copy copy-namespaces="no">
|
|
|
+ <xsl:copy-of select="@*"/>
|
|
|
+ </xsl:copy>
|
|
|
+ </dst_fid_not_following-sibling>
|
|
|
+ <xsl:call-template name="bocian-graph-2-html.applying_analys">
|
|
|
+ <xsl:with-param name="src_fid_analys" select="$src_fid_analys"/>
|
|
|
+ <xsl:with-param name="dst_fid.not.following.count" select="$dst_fid.not.following.count"/>
|
|
|
+ <xsl:with-param name="dst_fid.following.count" select="$dst_fid.following.count"/>
|
|
|
+ <xsl:with-param name="src_fid.pos" select="$src_fid.pos"/>
|
|
|
+ <xsl:with-param name="src_fid" select="$src_fid"/>
|
|
|
+ <xsl:with-param name="dst_fid.not.following.pos" select="$dst_fid.not.following.pos"/>
|
|
|
+ <xsl:with-param name="dst_fid.following.pos" select="$dst_fid.following.pos + 1"/>
|
|
|
+ <xsl:with-param name="last_call" select="'not.following'"/>
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:for-each>
|
|
|
+ </xsl:when>-\->
|
|
|
+ <!-\-<xsl:when test="$dst_fid.not.following.pos < $dst_fid.not.following.count and $last_call='not.following'">
|
|
|
+
|
|
|
+ </xsl:when>-\->
|
|
|
+
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </bocian-graph-2-html.applying_analys>
|
|
|
+
|
|
|
+ </xsl:template>-->
|
|
|
+
|
|
|
+ <xsl:template mode="bocian-graph-2-html.preprocess.child" match="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row[@fid]">
|
|
|
+ <xsl:variable name="fileindex" select="@fid"/>
|
|
|
+ <!--example call module <xsl:for-each select="$dita//simpletable">
|
|
|
+ <xsl:apply-templates select="." mode="system_cache__dita:graph__write_dita_preprocess">
|
|
|
+ <xsl:with-param name="fileindex" select="@id"/>
|
|
|
+ </xsl:apply-templates>
|
|
|
+ </xsl:for-each> -->
|
|
|
+ <!-- example xsl from other module
|
|
|
+ <xsl:result-document href="{$ditadir}/graph_to_image/{$fileindex}.gnuplot" omit-xml-declaration="yes">
|
|
|
+set terminal pngcairo font "arial,6" size 800,600
|
|
|
+set nokey
|
|
|
+set output '<xsl:value-of select="$fileindex"/>.png'
|
|
|
+set boxwidth 0.75
|
|
|
+set style fill solid
|
|
|
+set title "Wykres"
|
|
|
+plot "<xsl:value-of select="$fileindex"/>.gnuplot.dat" using 2:xtic(1) with boxes
|
|
|
+ </xsl:result-document>
|
|
|
+
|
|
|
+ -->
|
|
|
+ <!--<xsl:result-document href="{$ditadir}/graph_to_image/{$fileindex}.gnuplot.dat" omit-xml-declaration="yes">
|
|
|
+ <!-\-<system_cache__appinfo:graph_to_image.population.dat>-\->
|
|
|
+ <!-\-<xsl:attribute name="local-name" select="local-name()"/>-\->
|
|
|
+ <xsl:variable name="cols" select="count(strow[ position() = 1]/stentry)"/>
|
|
|
+ <xsl:variable name="strow" select="(strow|sthead)"/>
|
|
|
+ <xsl:message>#69 graph cols <xsl:value-of select="$cols"/></xsl:message>
|
|
|
+ <xsl:for-each select="1 to $cols">
|
|
|
+ <xsl:for-each select="$strow/stentry[ position() = current()]">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="position() = 1">
|
|
|
+ <!-\-<xsl:value-of select="system_cache__appinfo:truncate_special_and_do_uppercase(.)"/><xsl:text>	</xsl:text>-\->
|
|
|
+ <xsl:value-of select="string(.)"/><xsl:text>	</xsl:text>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:value-of select="string(.)"/><xsl:text>	</xsl:text>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:for-each>
|
|
|
+ <xsl:text> </xsl:text>
|
|
|
+ </xsl:for-each>
|
|
|
+ <!-\-</system_cache__appinfo:graph_to_image.population.dat>-\->
|
|
|
+ <!-\-<xsl:apply-templates mode="preprocess_gml_geometry_image" select="."/>-\->
|
|
|
+ </xsl:result-document>-->
|
|
|
+ <gml:featureMember >
|
|
|
+ <xsl:element name="default_db__x3A__{BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[1]/*[1]/local-name()}:{BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[1]/*[1]/local-name()}">
|
|
|
+ <xsl:attribute name="p5:primaryKey" select="p5:primaryKey(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[1]/*[1]/@fid)"/>
|
|
|
+ <xsl:copy-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[1]/*[1]/@fid"/>
|
|
|
+ <!--<default_db__x3A__BI_audit_ENERGA_PRACOWNICY:BI_audit_ENERGA_PRACOWNICY fid="{@fid}">-->
|
|
|
+ <!--<xsl:attribute name="p5:primaryKey" select="p5:primaryKey(@fid)"/>-->
|
|
|
+ <xsl:apply-templates mode="bocian-graph-2-html.preprocess.names" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[1]"/>
|
|
|
+ <!--<default_db__x3A__BI_audit_ENERGA_PRACOWNICY:ID>12</default_db__x3A__BI_audit_ENERGA_PRACOWNICY:ID>
|
|
|
+ <default_db__x3A__BI_audit_ENERGA_PRACOWNICY:imiona>Robert</default_db__x3A__BI_audit_ENERGA_PRACOWNICY:imiona>
|
|
|
+ <default_db__x3A__BI_audit_ENERGA_PRACOWNICY:nazwisko>Szaj</default_db__x3A__BI_audit_ENERGA_PRACOWNICY:nazwisko>-->
|
|
|
+ <xsl:variable name="pos.last" select="count(BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object)"/>
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:element name="default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object">
|
|
|
+
|
|
|
+ <xsl:copy-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[1]/@fid"/>
|
|
|
+ <xsl:attribute name="p5:primaryKey" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[1]/p5:primaryKey(@fid)"/>
|
|
|
+ <default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object:ID><xsl:value-of select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[1]/p5:primaryKey(@fid)"/></default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object:ID>
|
|
|
+ <xsl:comment>#109 parent once </xsl:comment>
|
|
|
+
|
|
|
+ <xsl:element name="default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row">
|
|
|
+ <xsl:copy-of select="@fid"/>
|
|
|
+ <xsl:attribute name="p5:primaryKey" select="p5:primaryKey(@fid)"/>
|
|
|
+ <default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row:ID><xsl:value-of select="p5:primaryKey(@fid)"/></default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row:ID>
|
|
|
+ <xsl:comment>#109 parent root </xsl:comment>
|
|
|
+
|
|
|
+ <xsl:variable name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row" select="."/>
|
|
|
+ <xsl:for-each select="0 to ( $pos.last - 1 )">
|
|
|
+ <xsl:comment>#133 1 to <xsl:value-of select="$pos.last"/> = <xsl:value-of select="$pos.last - current()"/></xsl:comment>
|
|
|
+ <xsl:for-each select="$BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ ($pos.last - current()) ]">
|
|
|
+
|
|
|
+ <xsl:apply-templates mode="bocian-graph-2-html.preprocess.row_objects" select="." >
|
|
|
+ <xsl:with-param name="pos" select="position()"/>
|
|
|
+ <xsl:with-param name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object" select="."/>
|
|
|
+ </xsl:apply-templates>
|
|
|
+ </xsl:for-each>
|
|
|
+ </xsl:for-each>
|
|
|
+
|
|
|
+
|
|
|
+ <!--<xsl:apply-templates mode="bocian-graph-2-html.preprocess.row_objects" select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ last()]" >
|
|
|
+ <xsl:with-param name="pos" select="2"/>
|
|
|
+ <xsl:with-param name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object" select="."/>
|
|
|
+ </xsl:apply-templates>-->
|
|
|
+
|
|
|
+ </xsl:element>
|
|
|
+
|
|
|
+ </xsl:element>
|
|
|
+ <!--<xsl:for-each select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ not(position()=1)]" >-->
|
|
|
+ <!--<xsl:call-template name="bocian-graph-2-html.preprocess.row_objects" />-->
|
|
|
+ <!--</xsl:for-each>-->
|
|
|
+ <!-- mode="bocian-graph-2-html.preprocess.row_objects" -->
|
|
|
+ <!--</default_db__x3A__BI_audit_ENERGA_PRACOWNICY:BI_audit_ENERGA_PRACOWNICY>-->
|
|
|
+ </xsl:element>
|
|
|
+ </gml:featureMember>
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
+ <xsl:template name="bocian-graph-2-html.preprocess.row_objects">
|
|
|
+ <bocian-graph-2-html.preprocess.row_objects>
|
|
|
+ <xsl:for-each select="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ not(position()=1)]" >
|
|
|
+ <OBJ>
|
|
|
+
|
|
|
+ </OBJ>
|
|
|
+ <xsl:apply-templates mode="bocian-graph-2-html.preprocess.row_objects" select="."/>
|
|
|
+ </xsl:for-each>
|
|
|
+ </bocian-graph-2-html.preprocess.row_objects>
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
+ <xsl:template mode="bocian-graph-2-html.preprocess bocian-graph-2-html.preprocess.child bocian-graph-2-html.preprocess.applying_analys" match="text()|comment()|*"/>
|
|
|
+
|
|
|
+ <xsl:function name="system_cache__dita:bocian.add.elements">
|
|
|
+ <xsl:param name="local-name"/>
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="contains($local-name,'default_db__x3A__')">
|
|
|
+ <xsl:value-of select="$local-name"/>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:value-of select="concat('default_db__x3A__',$local-name,':',$local-name)"/>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+
|
|
|
+ </xsl:function>
|
|
|
+
|
|
|
+ <xsl:template mode="bocian-graph-2-html.preprocess.names" match="*[*]">
|
|
|
+ <xsl:param name="addelement"/>
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$addelement">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="contains(name(),'default_db__x3A__')">
|
|
|
+ <xsl:copy copy-namespaces="no">
|
|
|
+ <xsl:copy-of select="@fid"/>
|
|
|
+ <xsl:attribute name="p5:primaryKey" select="p5:primaryKey(@fid)"/>
|
|
|
+ <xsl:apply-templates mode="#current">
|
|
|
+ <xsl:with-param name="addelement" select="$addelement"/>
|
|
|
+ </xsl:apply-templates>
|
|
|
+ </xsl:copy>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:element name="default_db__x3A__{local-name()}:{local-name()}">
|
|
|
+ <xsl:copy-of select="@fid"/>
|
|
|
+ <xsl:attribute name="p5:primaryKey" select="p5:primaryKey(@fid)"/>
|
|
|
+ <xsl:apply-templates mode="#current">
|
|
|
+ <xsl:with-param name="addelement" select="$addelement"/>
|
|
|
+ </xsl:apply-templates>
|
|
|
+ </xsl:element>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:apply-templates mode="#current"/>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
+ <xsl:function name="system_cache__dita:bocian.bypass.elements">
|
|
|
+ <xsl:param name="element"/>
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$element = 'relation_from'"/>
|
|
|
+ <xsl:when test="$element = 'BI_audit_MSIG_person'"/>
|
|
|
+ <xsl:when test="$element = 'BI_audit_KRS_person'"/>
|
|
|
+ <xsl:when test="$element = 'BI_audit_MSIG_company'"/>
|
|
|
+ <xsl:when test="$element = 'BI_audit_KRS_company'"/>
|
|
|
+ <xsl:when test="$element = 'BI_audit_taxpayer'"/>
|
|
|
+ <xsl:when test="$element = 'TERYT_adresy'"/>
|
|
|
+ <xsl:when test="$element = 'BI_audit_MSIG_address'"/>
|
|
|
+ <xsl:otherwise><xsl:value-of select="true()"/></xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:function>
|
|
|
+
|
|
|
+ <xsl:template match="relation_from|BI_audit_MSIG_person|BI_audit_KRS_person|BI_audit_MSIG_company|BI_audit_KRS_company|BI_audit_taxpayer|TERYT_adresy|BI_audit_MSIG_address" mode="bocian-graph-2-html.preprocess.names" priority="5"/>
|
|
|
+
|
|
|
+ <xsl:template mode="bocian-graph-2-html.preprocess.names" match="ID|imiona|nazwisko|Pelna_nazwa_kontrahenta|nazwa"> <!-- |*[not(*)] -->
|
|
|
+ <xsl:element name="default_db__x3A__{parent::*/local-name()}:{local-name()}">
|
|
|
+ <xsl:if test="local-name()='nazwa'"><xsl:value-of select="parent::*/name()"/></xsl:if><xsl:value-of select="text()"/>
|
|
|
+ <!--<xsl:if test="local-name()='ID'"><xsl:comment>#201 parent/name=<xsl:value-of select="parent::*/name()"/></xsl:comment></xsl:if>-->
|
|
|
+ </xsl:element>
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
+ <xsl:template mode="bocian-graph-2-html.preprocess.names" match="text()|comment()"/>
|
|
|
+
|
|
|
+ <xsl:template mode="bocian-graph-2-html.preprocess.row_objects" match="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object">
|
|
|
+ <xsl:param name="pos" required="yes"/>
|
|
|
+ <xsl:param name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object" required="yes"/>
|
|
|
+ <!--<bocian-graph-2-html.preprocess.row_objects pos="{$pos}" cnt="{count($BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object//*)}">-->
|
|
|
+ <xsl:variable name="test_child">
|
|
|
+ <xsl:apply-templates mode="bocian-graph-2-html.preprocess.names" >
|
|
|
+ <xsl:with-param name="addelement" select="true()"/>
|
|
|
+ </xsl:apply-templates>
|
|
|
+ </xsl:variable>
|
|
|
+
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$test_child//*">
|
|
|
+ <default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object fid="{@fid}" >
|
|
|
+ <xsl:namespace name="default_db__x3A__{*[1]/local-name()}">https://biuro.biall-net.pl/wfs/default_db/<xsl:value-of select="*[1]/local-name()"/></xsl:namespace>
|
|
|
+ <xsl:attribute name="p5:primaryKey" select="p5:primaryKey(@fid)"/>
|
|
|
+ <default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object:ID><xsl:value-of select="p5:primaryKey(@fid)"/></default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object:ID>
|
|
|
+ <!--<xsl:element name="{*[1]/name()}"></xsl:element>-->
|
|
|
+
|
|
|
+ <xsl:apply-templates mode="bocian-graph-2-html.preprocess.names" >
|
|
|
+ <xsl:with-param name="addelement" select="true()"/>
|
|
|
+ </xsl:apply-templates>
|
|
|
+
|
|
|
+ <!--<xsl:apply-templates mode="#current" select="$BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object[ $pos + 1]" >
|
|
|
+ <xsl:with-param name="pos" select="$pos + 1"/>
|
|
|
+ <xsl:with-param name="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object" select="$BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object"/>
|
|
|
+ </xsl:apply-templates>-->
|
|
|
+ </default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object>
|
|
|
+
|
|
|
+
|
|
|
+ </xsl:when>
|
|
|
+ </xsl:choose>
|
|
|
+
|
|
|
+ <!--</bocian-graph-2-html.preprocess.row_objects>-->
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:template mode="bocian-graph-2-html.preprocess" match="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object">
|
|
|
+ <xsl:message terminate="yes">#73 match="BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row_object" without @fid !</xsl:message>
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:template mode="system_cache__dita:bocian-graph-2-html.write" match="*">
|
|
|
+
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
+ <xsl:template mode="system_cache__dita:bocian-graph-2-html.read" match="*">
|
|
|
+ <xsl:param name="fileindex" required="yes"/> <!-- ex. 3161_IN7_MK_BAZA_DYSTRYBUCJI - is related dir in dita dir with images -->
|
|
|
+ <xsl:param name="width" select="500"/>
|
|
|
+ <!-- example usage from other module
|
|
|
+
|
|
|
+ <p> Ilości powiązań <note>Uwaga, w przypadku odnalezionych kilku tras do tego samego kontrahenta pokazywana jest jedna trasa (wykres nie zawiera tego ograniczenia)</note>
|
|
|
+
|
|
|
+ <xsl:copy-of select="$simpletable"/>
|
|
|
+ <xsl:apply-templates mode="system_cache__dita:graph__read" select="$simpletable">
|
|
|
+ <xsl:with-param name="fileindex" select="$simpletable/simpletable/@id"/>
|
|
|
+ <xsl:with-param name="width" select="500"/>
|
|
|
+ </xsl:apply-templates>
|
|
|
+ </p>
|
|
|
+
|
|
|
+ -->
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="doc-available(concat($ditadir,'/bocian-graph-2-html/',$fileindex,'.png.xml'))">
|
|
|
+ <!--<xsl:apply-templates mode="system_cache__dita:graph_to_image" select="doc(concat($ditadir,'/graph_to_image/',$fileindex,'.png.xml'))">
|
|
|
+ <xsl:with-param name="fileindex" select="$fileindex"/>
|
|
|
+ <xsl:with-param name="width" select="$width"/>
|
|
|
+ </xsl:apply-templates>-->
|
|
|
+ <image href="bocian-graph-2-html/{$fileindex}.png" width="500"/>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:comment>#190 doc not aviable <xsl:value-of select="concat($ditadir,'/bocian-graph-2-html/',$fileindex,'.png.xml')"/></xsl:comment>
|
|
|
+ <xsl:message>#190 doc not aviable <xsl:value-of select="concat($ditadir,'/bocian-graph-2-html/',$fileindex,'.png.xml')"/></xsl:message>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ <xsl:comment>#180 todo mode="system_cache__dita:bocian-graph-2-html.read" match="*" name=<xsl:value-of select="name()"/></xsl:comment>
|
|
|
+
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:template mode="system_cache__dita:bocian-graph-2-html.read" match="bocian-graph-2-html">
|
|
|
+ <!-- integration in echoxml file="${postprocess_modules.xml} -->
|
|
|
+ <xsl:param name="fileindex" required="yes"/> <!-- ex. 3161_IN7_MK_BAZA_DYSTRYBUCJI - is related dir in dita dir with images -->
|
|
|
+ <xsl:param name="width" select="500"/>
|
|
|
+ <xsl:comment>#85 todo mode="system_cache__dita:bocian-graph-2-html" match="bocian-graph-2-html"</xsl:comment>
|
|
|
+ <!--<xsl:apply-templates mode="system_cache__appinfo:images">
|
|
|
+ <xsl:with-param name="fileindex" select="$fileindex"/>
|
|
|
+ <xsl:with-param name="width" select="$width"/>
|
|
|
+ </xsl:apply-templates>-->
|
|
|
+
|
|
|
+ </xsl:template>
|
|
|
+</xsl:stylesheet>
|