| <xsl:transform |
| xmlns:astro="http://www.astro.com/astro" |
| xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
| |
| <xsl:output method="xml"/> |
| |
| <!-- ra between 00:00:00 and 01:00:00 --> |
| <xsl:param name="ra_min_hr" select="0.106"/> |
| <xsl:param name="ra_max_hr" select="0.108"/> |
| |
| <xsl:template match="astro:stardb"> |
| <stardb xmlns="http://www.astro.com/astro" |
| xsi:schemaLocation="http://www.astro.com/astro catalog.xsd" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| <xsl:apply-templates/> |
| </stardb> |
| </xsl:template> |
| |
| <xsl:template match="astro:star"> |
| <xsl:if test="( |
| (number(astro:ra/astro:dv) >= $ra_min_hr) and |
| (number(astro:ra/astro:dv) <= $ra_max_hr))" > |
| <xsl:copy-of select="."/> |
| </xsl:if> |
| </xsl:template> |
| |
| <xsl:template match="astro:_test-04"> |
| <!-- discard text contents --> |
| </xsl:template> |
| |
| </xsl:transform> |
| |