p5ant-interface.filelist.xsl 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:p5ant-interface="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd"
  5. xmlns:p5dg="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd"
  6. exclude-result-prefixes="xs"
  7. version="2.0">
  8. <xsl:include href="../documentation_generator/p5dg.filepath.xsl"/>
  9. <xsl:output indent="yes"/>
  10. <xsl:strip-space elements="*"/>
  11. <xsl:param name="p5ant-interface.filelist.xml.dir" required="yes"/>
  12. <xsl:template mode="p5ant-interface:filelist.index_fileset.xml" match="p5ant-interface.filelist.fileset.xml" xpath-default-namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd"> <!-- xpath-default-namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd" -->
  13. <p5ant-interface:filelist.index_fileset.xml>
  14. <xsl:for-each select="tokenize(text(),';')">
  15. <p5ant-interface:p5dg.file>
  16. <p5ant-interface:filepath.dir><xsl:value-of select="p5dg:filepath.dir(.,$p5ant-interface.filelist.xml.dir)"/></p5ant-interface:filepath.dir>
  17. <p5ant-interface:filename><xsl:value-of select="p5dg:filename(.)"/></p5ant-interface:filename>
  18. <p5ant-interface:dir.filename><xsl:value-of select="p5dg:filepath.clean(concat(p5dg:filepath.dir(.,$p5ant-interface.filelist.xml.dir),'/',p5dg:filename(.)))"/></p5ant-interface:dir.filename>
  19. </p5ant-interface:p5dg.file>
  20. </xsl:for-each>
  21. </p5ant-interface:filelist.index_fileset.xml>
  22. </xsl:template>
  23. </xsl:stylesheet>