p5xsl.xsl 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. xmlns:p5xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd"
  5. exclude-result-prefixes="xs"
  6. version="2.0">
  7. <xsl:template match="p5xsl:stylesheet_buildlist" mode="p5xsl:include">
  8. <xsl:element name="xsl:stylesheet">
  9. <xsl:apply-templates mode="#current"/>
  10. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  11. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  12. exclude-result-prefixes="xs"
  13. version="2.0">
  14. <xsl:output indent="yes"/>
  15. <xsl:strip-space elements="*"/>
  16. <!--<xsl:import-schema schema-location="repository/p5dg.documentation.files.antstructure-resp.xsd" namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface-resp.xsd"/>-->
  17. <xsl:apply-templates mode="#current"/>
  18. </xsl:stylesheet>
  19. </xsl:element>
  20. </xsl:template>
  21. <xsl:template mode="p5xsl:include" match="p5xsl:include.list">
  22. <xsl:apply-templates mode="#current"/>
  23. </xsl:template>
  24. <xsl:template mode="p5xsl:include" match="p5xsl:include.list.href">
  25. <xsl:element name="xsl:include">
  26. <xsl:attribute name="href" select="@href"/>
  27. </xsl:element>
  28. </xsl:template>
  29. <xsl:template mode="p5xsl:include" match="p5xsl:namespaces.list">
  30. <xsl:apply-templates mode="#current"/>
  31. </xsl:template>
  32. <xsl:template mode="p5xsl:include" match="p5xsl:namespaces.list.namespace">
  33. <xsl:namespace name="{@prefix}" select="@namespace"/>
  34. </xsl:template>
  35. </xsl:stylesheet>