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 <!-- dec_frag.xsl = fragment used in radec.xsl --> 6 7 <xsl:output method="xml"/> 8 9 <xsl:param name="dec_min_deg" select="-5.75"/> 10 <xsl:param name="dec_max_deg" select="14.0"/> 11 12 13 <xsl:template match="astro:star" mode="RA_PASSED" > 14 <xsl:if test="( 15 (number(astro:dec/astro:dv) >= $dec_min_deg) and 16 (number(astro:dec/astro:dv) <= $dec_max_deg))" > 17 <xsl:copy-of select="."/> 18 </xsl:if> 19 </xsl:template> 20 21 <xsl:template match="astro:_test-04"> 22 <!-- discard text contents --> 23 </xsl:template> 24 25 </xsl:transform> 26