+<!--
+ fatch - fetch an source tarball/zip over http or ftp.
+
+ Usage:
+ <fetch branch="Daily_HEAD/wxX11.tar.gz"/>
+
+ Fetches the URL given by <baseURL>/$branch, where the current default
+ for <baseURL> is "http://biolpc22.york.ac.uk/pub".
+
+ The archive is then extracted by executing <profile/> then <unarchive/>
+ on the remote machine.
+-->
+<xsl:template name="fetch">
+ <xsl:param name="content"/>
+ <xsl:param name="branch">Daily_HEAD/wxWidgets.tar.gz</xsl:param>
+ <wget>
+ <profile/>
+ <defaults content="{$content}">
+ <baseURL><SNAPSHOT_URL/></baseURL>
+ <defaultBranch><xsl:value-of select="$branch"/></defaultBranch>
+ <unarchive/>
+ </defaults>
+ <xsl:copy-of select="$content"/>
+ </wget>
+</xsl:template>
+