Pools.xsl 683 B

1234567891011121314151617
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  4. exclude-result-prefixes="xs"
  5. version="2.0">
  6. <!-- template uzywane do wykrycia jakie zasoby sa w procesie przy glownym wywolaniu -->
  7. <xsl:template name="Pools">
  8. <xsl:param name="proces_id" />
  9. <xsl:for-each select="document('CRM_WSKAZNIK.xml')/data/items/item[A_STATUS!='DELETED' and ID_PROCES=$proces_id]">
  10. <xsl:element name="ID_ZASOB">
  11. <xsl:value-of select="ID_ZASOB"/>
  12. </xsl:element>
  13. </xsl:for-each>
  14. </xsl:template>
  15. </xsl:stylesheet>