1 <xsl:transform
   2   xmlns:astro="http://www.astro.com/astro"
   3   xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
   4 
   5         <xsl:output method="xml"/>
   6         
   7         <!-- ra between 00:00:00 and 01:00:00 --> 
   8         <xsl:param name="ra_min_hr" select="0.106"/>
   9         <xsl:param name="ra_max_hr" select="0.108"/>
  10         
  11         <!-- will use the uri resolver to resolve to  'toptemplate.xsl' -->
  12         <xsl:include href="http://astro.com/stylesheets/topleveltemplate"/>
  13         
  14         <xsl:template match="astro:star">
  15            <xsl:if test="(
  16                           (number(astro:ra/astro:dv) &gt;= $ra_min_hr) and
  17                           (number(astro:ra/astro:dv) &lt;= $ra_max_hr))" >
  18                   <xsl:copy-of select="."/>
  19            </xsl:if>
  20         </xsl:template>
  21         
  22         <xsl:template match="astro:_test-04">
  23             <!-- discard text contents -->
  24         </xsl:template>
  25 
  26 </xsl:transform>
  27