| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- <?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:p5yed="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/yed/p5yed.xsd"
- exclude-result-prefixes="xs"
- version="2.0">
- <xsl:output indent="yes"/>
- <xsl:strip-space elements="*"/> <!-- -->
-
-
-
- <xsl:template mode="bcgtht:clousure.node.unique.descriptor.analys" match="bcgtht:clousure.node.unique.descriptor">
- <p5yed:node.unique.descriptor>
- <xsl:apply-templates mode="bcgtht:clousure.node.unique.descriptor.analys" select="@*"/>
- <xsl:apply-templates mode="#current"/>
- </p5yed:node.unique.descriptor>
- </xsl:template>
-
-
- <xsl:template mode="bcgtht:clousure.node.unique.descriptor.analys" match="*">
- <xsl:copy copy-namespaces="no">
- <xsl:apply-templates mode="bcgtht:clousure.node.unique.descriptor.analys" select="@*"/>
- <xsl:copy-of select="text()"/>
- </xsl:copy>
- </xsl:template>
-
- <xsl:template mode="bcgtht:clousure.node.unique.descriptor.analys" match="@bcgtht:clousure.node.unique.descriptor.text">
- <xsl:attribute name="p5yed:clousure.node.unique.descriptor.text" select="."/>
- </xsl:template>
- <xsl:template mode="bcgtht:clousure.node.unique.descriptor.analys" match="@bcgtht:clousure.node.unique.descriptor.not">
- <xsl:attribute name="p5yed:clousure.node.unique.descriptor.not" select="."/>
- </xsl:template>
-
- <xsl:template mode="bcgtht:clousure.node.unique.descriptor.analys" match="@bcgtht:clousure.node.unique.descriptor.group">
- <xsl:attribute name="p5yed:clousure.node.unique.descriptor.group" select="."/>
- </xsl:template>
-
-
- <!--<xsl:template mode="bcgtht:clousure.analys.merge.apply.rename.analys.import" match="path.clousure.following|path.included">
- <xsl:apply-templates mode="#current" select="@*"/>
- </xsl:template>-->
-
- <xsl:template mode="bcgtht:clousure.analys.merge.apply.rename.analys.import" match="path.clousure.following|path.included" > <!-- [@bcgtht:clousure.from and @p5:primaryKey and @bcgtht:clousure.from and @bcgtht:clousure.from.node.name and @bcgtht:clousure.from.node.primaryKey ] --> <!-- @bcgtht:clousure.node.name xpath-default-namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/yed/p5yed.xsd" -->
- <xsl:attribute name="p5yed:node" select="replace(@bcgtht:clousure.node_merged,'\.','_')"/>
-
- <xsl:attribute name="p5yed:node.nodegraphics.text" select="'todo text '"/>
- <xsl:attribute name="p5yed:node.nodegraphics.type" select="substring-before(@bcgtht:clousure.node_merged,'.')"/>
- <xsl:attribute name="p5yed:clousure.node" select="@bcgtht:clousure.node"/>
- <xsl:attribute name="p5yed:node.from.nodegraphics.type" select="@bcgtht:clousure.from_merged"/>
- <xsl:attribute name="p5yed:clousure.from.len" select="@bcgtht:clousure.from.len"/>
- <xsl:attribute name="p5yed:node.from.nodegraphics.text">
- <xsl:choose>
- <xsl:when test="@bcgtht:node.from.nodegraphics.text_merged"><xsl:value-of select="@bcgtht:node.from.nodegraphics.text_merged"/></xsl:when>
- <xsl:when test="bcgtht:clousure.node.unique.descriptor/*[@bcgtht:clousure.node.unique.descriptor.text]">
- <xsl:copy-of select="bcgtht:clousure.node.unique.descriptor/*[@bcgtht:clousure.node.unique.descriptor.text]/text()"/><xsl:text>
- </xsl:text><xsl:value-of select="substring-before(@bcgtht:clousure.from_merged,'.')"/><xsl:text>
- </xsl:text><xsl:value-of select="substring-after(@bcgtht:clousure.from_merged,'.')"/></xsl:when><xsl:otherwise>
- <xsl:value-of select="@bcgtht:clousure.from_merged"/><xsl:text>
- </xsl:text><xsl:value-of select="p5:primaryKey(@bcgtht:clousure.from_merged)"/></xsl:otherwise>
- </xsl:choose></xsl:attribute>
- <xsl:attribute name="p5yed:edge.source" select="replace(@bcgtht:clousure.from_merged,'\.','_')"/>
- </xsl:template>
-
- <xsl:template match="*|text()|comment()" mode="bcgtht:clousure.analys.merge.apply.rename.analys.import"/>
-
-
-
- <!-- #### --><!-- #### --><!-- #### -->
-
- <xsl:template mode="bcgtht:clousure.analys.merge.apply.test.merge.delete" match="@p5yed:clousure.node|@p5yed:edge.source">
- <xsl:attribute name="{name()}_deleted" select="."/>
- </xsl:template><!-- deleting objects -->
- <xsl:template mode="bcgtht:clousure.analys.merge.apply.test.merge.delete" match="@*">
- <xsl:copy-of select="."/>
- </xsl:template>
-
- <!--<xsl:template mode="bcgtht:clousure.analys.merge.apply.test.merge.delete" match="text()|comment()"/>-->
-
-
- <xsl:template mode="p5yed:node.attr" match="*[@bcgtht:clousure.from and @bcgtht:clousure.from ]" ><!-- @bcgtht:clousure.node.name xpath-default-namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/yed/p5yed.xsd" --><!-- and @p5:primaryKey and --> <!-- and @bcgtht:clousure.from.node.name and @bcgtht:clousure.from.node.primaryKey -->
- <xsl:attribute name="p5yed:node" select="concat(@bcgtht:clousure.node.name,'_',@p5:primaryKey)"/>
-
- <xsl:attribute name="p5yed:node.nodegraphics.text" select="@p5:primaryKey"/>
- <xsl:attribute name="p5yed:node.nodegraphics.type" select="@bcgtht:clousure.node.name"/>
- <xsl:attribute name="p5yed:clousure.node" select="@bcgtht:clousure.node"/>
- <xsl:attribute name="p5yed:node.from.nodegraphics.type" select="@bcgtht:clousure.from.node.name"/>
- <xsl:attribute name="p5yed:clousure.from.len" select="@bcgtht:clousure.from.len"/>
- <xsl:attribute name="p5yed:node.from.nodegraphics.text">
- <xsl:choose>
- <xsl:when test="bcgtht:clousure.node.unique.descriptor/*[@bcgtht:clousure.node.unique.descriptor.text]">
- <xsl:copy-of select="bcgtht:clousure.node.unique.descriptor/*[@bcgtht:clousure.node.unique.descriptor.text]/text()"/><xsl:text>
- </xsl:text><xsl:value-of select="@bcgtht:clousure.from.node.name"/><xsl:text>
- </xsl:text><xsl:value-of select="@bcgtht:clousure.from.node.primaryKey"/></xsl:when><xsl:otherwise>
- <xsl:value-of select="@bcgtht:clousure.from.node.name"/><xsl:text>
- </xsl:text><xsl:value-of select="@bcgtht:clousure.from.node.primaryKey"/></xsl:otherwise>
- </xsl:choose></xsl:attribute>
- <xsl:attribute name="p5yed:edge.source" select="concat(@bcgtht:clousure.from.node.name,'_',@bcgtht:clousure.from.node.primaryKey)"/>
- <!--<xsl:copy-of select="."/>-->
- </xsl:template>
-
-
- </xsl:stylesheet>
|