You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
905 B

  1. <?xml version="1.0"?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  3. <xsl:param name="base"/>
  4. <xsl:template match="/">
  5. <xsl:apply-templates/>
  6. </xsl:template>
  7. <xsl:template match="directory">
  8. <project>
  9. <xsl:apply-templates/>
  10. </project>
  11. </xsl:template>
  12. <xsl:template match="entry">
  13. <!--xsl:if test="@directory!='true'"-->
  14. <resource source="{@href}" target="{$base}{@href}"/>
  15. <!--/xsl:if-->
  16. <!-- don't copy subdir to avoid copying proprietary CVS files
  17. <xsl:if test="@directory='true'">
  18. <process source="{@href}" producer="directory">
  19. <processor name="xslt">
  20. <parameter name="stylesheet" value="sbk:/style/stylesheets/directory2project.xsl"/>
  21. <parameter name="base" value="{$base}{@href}"/>
  22. </processor>
  23. </process>
  24. </xsl:if>
  25. -->
  26. </xsl:template>
  27. </xsl:stylesheet>