| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338 |
- <?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: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:p5dkp="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.xsd"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:p5suis="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:p5xsda="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsd_asserts/p5xsda.xsd"
- exclude-result-prefixes="xs"
- version="2.0">
- <xsl:output indent="yes"/>
- <xsl:strip-space elements="*"/>
-
-
- <xsl:param name="p5dkp:xsd" required="yes"/>
- <xsl:param name="p5dkp.map.etap.xml" required="yes"/>
- <xsl:param name="p5dkp.map.worker.xml" required="yes"/>
- <xsl:param name="p5dkp.map.role.xml" required="yes"/>
- <xsl:param name="p5dkp.map.product.xml" required="yes"/>
- <xsl:param name="p5dkp.map.wymagania.xml" required="yes"/>
- <xsl:param name="p5dkp.map.zadanie.xml" required="yes"/>
- <xsl:param name="p5dkp.map.keys.xml" required="yes"/>
- <xsl:param name="debug"/>
-
- <xsl:include href="p5dkp.dita.xsl"/>
- <xsl:include href="p5dkp.local.idref.xsl"/>
- <xsl:include href="../xsd_asserts/p5xsda.sort_elements.xsl"/>
- <xsl:include href="p5dkp.nodes.path.add.xsl"/>
-
- <xsl:variable name="map.etap" select="doc($p5dkp.map.etap.xml)"/>
- <xsl:variable name="map.role" select="doc($p5dkp.map.role.xml)"/>
- <xsl:variable name="map.product" select="doc($p5dkp.map.product.xml)"/>
- <xsl:variable name="map.worker" select="doc($p5dkp.map.worker.xml)"/>
- <xsl:variable name="map.wymagania" select="doc($p5dkp.map.wymagania.xml)"/>
- <xsl:variable name="map.zadanie" select="doc($p5dkp.map.zadanie.xml)"/>
-
- <xsl:variable name="p5dkp.map.keys" select="doc($p5dkp.map.keys.xml)"/>
-
-
-
- <xsl:template match="p5dkp:map.etap.xml" mode="p5dkp:map.budzet_rola.xml">
- <xsl:param name="p5dkp:nodes.path"/>
- <p5dkp:map.budzet_rola.xml xsi:schemaLocation="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.xsd {$p5dkp:xsd}">
- <xsl:apply-templates mode="#current"/>
-
- <!--<xsl:variable name="p5xsda:xs.sequence">
- <xsl:apply-templates mode="p5xsda:xs.sequence" select="doc($p5dkp:xsd)/schema/element[@name='map.budzet_rola.xml']" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/>
- </xsl:variable>
- <p5xsda:xs.sequence>
- <xsl:copy-of select="$p5xsda:xs.sequence"/>
- </p5xsda:xs.sequence>
- <TEST_SEQ>
- <xsl:for-each select="$p5xsda:xs.sequence/sequence/*[@ref]" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
- <xsl:apply-templates mode="p5dkp:wymagania.root" select="$map.wymagania//p5dkp:wymagania">
- <xsl:sort select="number(wymagania_prio/text())" order="descending"/>
- </xsl:apply-templates>
- </xsl:for-each>
- </TEST_SEQ>-->
- <xsl:apply-templates mode="p5dkp:wymagania.root" select="$map.wymagania//p5dkp:wymagania">
- <!--<xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,wymagania_no)"/>-->
- <xsl:sort select="number(wymagania_prio/text())" order="descending"/>
- </xsl:apply-templates>
- <xsl:apply-templates mode="p5dkp:role.root" select="$map.role//p5dkp:role">
- <!--<xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,wymagania_no)"/>-->
- <xsl:sort select="number(role_prio/text())" order="descending"/>
- </xsl:apply-templates>
- <xsl:apply-templates mode="p5dkp:product.root" select="$map.product//p5dkp:product">
- <!--<xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,wymagania_no)"/>-->
- <xsl:sort select="number(product_prio/text())" order="ascending"/>
- </xsl:apply-templates>
- <xsl:apply-templates mode="p5dkp:zadanie.root" select="$map.zadanie//p5dkp:zadanie">
- <!--<xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,wymagania_no)"/>-->
- <xsl:sort select="number(zadanie_prio/text())" order="descending"/>
- </xsl:apply-templates>
- <xsl:apply-templates mode="p5dkp:worker.root" select="$map.worker//p5dkp:worker">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,wymagania_no)"/>
- </xsl:apply-templates>
- </p5dkp:map.budzet_rola.xml>
- </xsl:template>
-
- <xsl:template mode="p5dkp:map.budzet_rola.xml" match="p5dkp:etap">
- <xsl:param name="p5dkp:nodes.path"/>
- <xsl:variable name="keyscope.1" select="tokenize(@keyscope,' ')[1]"/>
- <xsl:copy copy-namespaces="yes">
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates mode="p5dkp:map.budzet_rola.xml.local"/>
- <xsl:message>#89 debug number(wymagania_prio/text()) ; count()=<xsl:value-of select="count($map.wymagania//p5dkp:wymagania[etap_no[@keyref = current()/etap_no/@p5dkp:id]]/wymagania_prio)"/>; copy-of <xsl:copy-of select="$map.wymagania//p5dkp:wymagania[etap_no[@keyref = current()/etap_no/@p5dkp:id]]"/></xsl:message>
- <xsl:apply-templates mode="p5dkp:wymagania" select="$map.wymagania//p5dkp:wymagania[etap_no[@keyref = current()/etap_no/@p5dkp:id]]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,etap_no)"/>
- <xsl:sort select="number(wymagania_prio/text())" order="descending"/>
- </xsl:apply-templates>
- </xsl:copy>
- </xsl:template>
-
- <xsl:template mode="p5dkp:etap" match="p5dkp:etap">
- <xsl:param name="p5dkp:nodes.path"/>
- <xsl:copy copy-namespaces="yes">
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates mode="p5dkp:map.budzet_rola.xml.local"/>
- <xsl:apply-templates mode="p5dkp:role" select="$map.role//p5dkp:role[role_no[@p5dkp:id = current()/role_no/@keyref]]">
- <!--<xsl:with-param name="p5dkp:nodes.path" select="concat($p5dkp:nodes.path,'/',name())"/>-->
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,etap_no)"/>
- </xsl:apply-templates>
- </xsl:copy>
- </xsl:template>
-
-
-
-
- <xsl:template mode="p5dkp:wymagania p5dkp:wymaganie_no_required_finished" match="p5dkp:wymagania">
- <xsl:param name="mode" select="'p5dkp:wymagania'"/>
- <xsl:param name="p5dkp:nodes.path"/>
- <xsl:element name="{$mode}">
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates mode="p5dkp:map.budzet_rola.xml.local.idref"/>
- <xsl:apply-templates mode="p5dkp:role" select="$map.role//p5dkp:role[role_no[@p5dkp:id = current()/role_no/@keyref]]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,wymagania_no)"/>
- </xsl:apply-templates>
- <xsl:apply-templates mode="p5dkp:product" select="$map.product//p5dkp:product[product_no[@p5dkp:id = current()/product_no/@keyref]]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,wymagania_no)"/>
- </xsl:apply-templates>
- <xsl:choose>
- <xsl:when test="$p5dkp:nodes.path and $p5dkp:nodes.path//etap_no">
- <!--<p5dkp:nodes.path_FILTERED_ROLE>-->
- <!--<xsl:attribute name="for" select="$p5dkp:nodes.path//etap_no/@p5dkp:id"/>-->
- <xsl:apply-templates mode="p5dkp:zadanie" select="$map.zadanie//p5dkp:zadanie[wymagania_no[@keyref = current()/wymagania_no/@p5dkp:id] and etap_no[@keyref = $p5dkp:nodes.path//etap_no/@p5dkp:id] ]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,wymagania_no)"/>
- <xsl:with-param name="mode" select="'p5dkp:zadanie.etap'"/>
- <xsl:sort select="number(zadanie_prio/text())" order="descending"/>
- </xsl:apply-templates>
- <!--</p5dkp:nodes.path_FILTERED_ROLE>-->
- </xsl:when>
- </xsl:choose>
- <xsl:if test="$p5dkp:nodes.path and $p5dkp:nodes.path//role_no">
- <xsl:apply-templates mode="p5dkp:zadanie" select="$map.zadanie//p5dkp:zadanie[wymagania_no[@keyref = current()/wymagania_no/@p5dkp:id] and role_no[@keyref = $p5dkp:nodes.path//role_no[1]/@p5dkp:id] ]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,wymagania_no)"/>
- <xsl:with-param name="mode" select="'p5dkp:zadanie.role'"/>
- <xsl:sort select="number(zadanie_prio/text())" order="descending"/>
- </xsl:apply-templates>
- </xsl:if>
- <xsl:apply-templates mode="p5dkp:zadanie" select="$map.zadanie//p5dkp:zadanie[wymagania_no[@keyref = current()/wymagania_no/@p5dkp:id]]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,wymagania_no)"/>
- <xsl:sort select="number(zadanie_prio/text())" order="descending"/>
- </xsl:apply-templates>
- <!--<p5dkp:nodes.path_DEBUG__>
- <xsl:copy-of select="p5dkp:nodes.path.add($p5dkp:nodes.path,wymagania_no)"/>
- </p5dkp:nodes.path_DEBUG__>-->
- </xsl:element>
- </xsl:template>
-
-
-
- <xsl:template mode="p5dkp:wymagania.root" match="p5dkp:wymagania">
- <xsl:param name="mode" select="'p5dkp:wymagania'"/>
- <xsl:param name="p5dkp:nodes.path"/>
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates mode="p5dkp:map.budzet_rola.xml.local"/>
- <xsl:apply-templates mode="p5dkp:role" select="$map.role//p5dkp:role[role_no[@p5dkp:id = current()/role_no/@keyref]]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,wymagania_no)"/>
- </xsl:apply-templates>
- <xsl:apply-templates mode="p5dkp:product" select="$map.product//p5dkp:product[product_no[@p5dkp:id = current()/product_no/@keyref]]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,wymagania_no)"/>
- </xsl:apply-templates>
-
- <xsl:apply-templates mode="p5dkp:zadanie" select="$map.zadanie//p5dkp:zadanie[wymagania_no[@p5dkp:id= current()/wymagania_no/@keyref]]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,wymagania_no)"/>
- <xsl:sort select="number(zadanie_prio/text())" order="descending"/>
- </xsl:apply-templates>
-
- <xsl:apply-templates mode="p5dkp:wymaganie_no_required_finished" select="$map.wymagania//p5dkp:wymagania[wymagania_no[@p5dkp:id = current()/wymaganie_no_required_finished/@keyref]]">
- <xsl:with-param name="mode" select="'p5dkp:wymaganie_no_required_finished'"/>
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,wymagania_no)"/>
- <xsl:sort select="number(wymagania_prio/text())" order="descending"/>
- </xsl:apply-templates>
-
- </xsl:copy>
- </xsl:template>
-
- <xsl:template mode="p5dkp:zadanie.root" match="p5dkp:zadanie">
- <xsl:param name="p5dkp:nodes.path"/>
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates mode="p5dkp:map.budzet_rola.xml.local">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,wymagania_no)"/>
- </xsl:apply-templates>
- <xsl:apply-templates mode="p5dkp:etap" select="$map.etap//p5dkp:etap[etap_no[@p5dkp:id= current()/etap_no/@keyref]]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,zadanie_no)"/>
- </xsl:apply-templates>
- <xsl:apply-templates mode="p5dkp:wymagania" select="$map.wymagania//p5dkp:wymagania[wymagania_no[@keyref = current()/wymagania_no/@p5dkp:id]]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,zadanie_no)"/>
- <xsl:sort select="number(wymagania_prio/text())" order="descending"/>
- </xsl:apply-templates>
- <xsl:apply-templates mode="p5dkp:role" select="$map.role//p5dkp:role[role_no[@p5dkp:id = current()/role_no/@keyref]]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,zadanie_no)"/>
- </xsl:apply-templates>
- <xsl:apply-templates mode="p5dkp:worker" select="$map.worker//p5dkp:worker[worker_no[@p5dkp:id = current()/worker_no/@keyref]]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,zadanie_no)"/>
- </xsl:apply-templates>
- </xsl:copy>
- </xsl:template>
-
- <xsl:template mode="p5dkp:zadanie" match="p5dkp:zadanie">
- <xsl:param name="p5dkp:nodes.path"/>
- <xsl:param name="mode" select="'p5dkp:zadanie'"/>
- <xsl:element name="{$mode}">
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates mode="p5dkp:map.budzet_rola.xml.local.idref"/>
- <xsl:apply-templates mode="p5dkp:worker" select="$map.worker//p5dkp:worker[worker_no[@p5dkp:id= current()/worker_no/@keyref ]]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,zadanie_no)"/>
- </xsl:apply-templates>
- <p5dkp:nodes.path_DEBUG>
- <xsl:copy-of select="p5dkp:nodes.path.add($p5dkp:nodes.path,zadanie_no)"></xsl:copy-of>
- </p5dkp:nodes.path_DEBUG>
- </xsl:element>
- </xsl:template>
-
-
-
- <xsl:template mode="p5dkp:role" match="p5dkp:role">
- <xsl:param name="p5dkp:nodes.path"/>
- <xsl:copy copy-namespaces="yes" inherit-namespaces="yes">
- <!--<xsl:namespace name="" select="'http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/dita_kosztorys_projektowy/p5dkp.xsd'"/>-->
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates mode="p5dkp:map.budzet_rola.xml.local.idref"/>
- <xsl:choose>
- <xsl:when test="$p5dkp:nodes.path and $p5dkp:nodes.path//etap_no">
- <!--<p5dkp:nodes.path_FILTERED_ROLE>
- <xsl:attribute name="for" select="$p5dkp:nodes.path//etap_no/@p5dkp:id"/>-->
- <xsl:apply-templates mode="p5dkp:zadanie" select="$map.zadanie//p5dkp:zadanie[role_no[@keyref = current()/role_no/@p5dkp:id] and etap_no[@keyref = $p5dkp:nodes.path//etap_no/@p5dkp:id] ]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,wymagania_no)"/>
- <xsl:with-param name="mode" select="'p5dkp:zadanie.etap'"/>
- <xsl:sort select="number(zadanie_prio/text())" order="descending"/>
- </xsl:apply-templates>
- <xsl:apply-templates mode="p5dkp:zadanie" select="$map.zadanie//p5dkp:zadanie[role_no[@keyref = current()/role_no/@p5dkp:id] and not(etap_no[@keyref = $p5dkp:nodes.path//etap_no/@p5dkp:id]) ]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,wymagania_no)"/>
- <xsl:with-param name="mode" select="'p5dkp:zadanie.etap.mismatch'"/>
- <xsl:sort select="number(zadanie_prio/text())" order="descending"/>
- </xsl:apply-templates>
- <!--</p5dkp:nodes.path_FILTERED_ROLE>-->
- </xsl:when>
- </xsl:choose>
- <xsl:apply-templates mode="p5dkp:zadanie" select="$map.zadanie//p5dkp:zadanie[role_no[@keyref = current()/role_no/@p5dkp:id]]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,wymagania_no)"/>
- <xsl:sort select="number(zadanie_prio/text())" order="descending"/>
- </xsl:apply-templates>
- <xsl:apply-templates mode="p5dkp:worker" select="$map.worker//p5dkp:worker[role_no[@p5dkp:id = current()/role_no/@keyref]]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,role_no)"/>
- <xsl:sort select="number(worker_prio/text())" order="descending"/>
- </xsl:apply-templates>
- </xsl:copy>
- </xsl:template>
-
-
- <xsl:template mode="p5dkp:role.root" match="p5dkp:role">
- <xsl:param name="p5dkp:nodes.path"/>
- <xsl:copy >
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates mode="p5dkp:map.budzet_rola.xml.local"/>
- <xsl:apply-templates mode="p5dkp:etap" select="$map.etap//p5dkp:etap[etap_no[@keyref = current()/etap_no/@p5dkp:id]]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,role_no)"/>
- </xsl:apply-templates>
- <xsl:apply-templates mode="p5dkp:wymagania" select="$map.wymagania//p5dkp:wymagania[role_no[@keyref = current()/role_no/@p5dkp:id]]">
- <xsl:sort select="number(wymagania_prio/text())" order="descending"/>
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,role_no)"/>
- </xsl:apply-templates>
- <xsl:apply-templates mode="p5dkp:product" select="$map.product//p5dkp:product[product_no[@p5dkp:id = current()/product_no/@keyref]]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,role_no)"/>
- </xsl:apply-templates>
-
- <xsl:apply-templates mode="p5dkp:zadanie" select="$map.zadanie//p5dkp:zadanie[role_no[@keyref = current()/role_no/@p5dkp:id]]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,role_no)"/>
- <xsl:sort select="number(zadanie_prio/text())" order="descending"/>
- </xsl:apply-templates>
- <xsl:apply-templates mode="p5dkp:worker" select="$map.worker//p5dkp:worker[role_no[@keyref = current()/role_no/@p5dkp:id]]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,role_no)"/>
- </xsl:apply-templates>
- </xsl:copy>
- </xsl:template>
-
-
- <xsl:template mode="p5dkp:product" match="p5dkp:product">
- <xsl:param name="p5dkp:nodes.path"/>
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates mode="p5dkp:map.budzet_rola.xml.local.idref"/>
- </xsl:copy>
- </xsl:template>
-
- <xsl:template mode="p5dkp:product.root" match="p5dkp:product">
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates mode="p5dkp:map.budzet_rola.xml.local"/>
- </xsl:copy>
- </xsl:template>
-
- <xsl:template mode="p5dkp:worker.root" match="p5dkp:worker">
- <xsl:param name="p5dkp:nodes.path"/>
- <xsl:choose>
- <xsl:when test=" contains($p5dkp:nodes.path,name())">
- <xsl:comment>#196 loop <xsl:value-of select="$p5dkp:nodes.path"/></xsl:comment>
- </xsl:when>
- <xsl:otherwise>
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates mode="p5dkp:map.budzet_rola.xml.local"/>
- <xsl:apply-templates mode="p5dkp:role" select="$map.role//p5dkp:role[role_no[@p5dkp:id = current()/role_no/@keyref]]">
- <xsl:with-param name="p5dkp:nodes.path" select="p5dkp:nodes.path.add($p5dkp:nodes.path,worker_no)"/>
- </xsl:apply-templates>
- </xsl:copy>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template mode="p5dkp:worker" match="p5dkp:worker">
- <xsl:param name="p5dkp:nodes.path"/>
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates mode="p5dkp:map.budzet_rola.xml.local.idref"/>
- </xsl:copy>
- </xsl:template>
-
-
-
- <!--<xsl:template mode="p5dkp:wymagania" match="*">
- <NOT><xsl:copy-of select="@*"/><xsl:value-of select="name()"/></NOT>
- </xsl:template>-->
-
- <xsl:template mode="p5dkp:wymagania" match="comment()|text()">
- <!--<NOT><xsl:value-of select="name()"/></NOT>-->
- </xsl:template>
-
-
-
-
- </xsl:stylesheet>
|