<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:s="http://www.stylusstudio.com/xquery">
 <xsl:template match="/">
  <html>
   <head/>
   <body>
    <div style="text-align: none;">
     <xsl:for-each select="/mofish/eventid">
      <xsl:variable name="eventid" select="."/>
      <div>
       <div style="text-align: none;">
        <xsl:value-of select="eventname"/>
        <br/>
        <table align="none" width="100" border="2pt" cellspacing="1pt" cellpadding="1pt">
         <tbody>
          <tr>
           <td>
            <div style="text-align: none;">
             <xsl:text>male</xsl:text>
            </div>
           </td>
           <td>
            <div style="text-align: none;color: #008000;">
             <xsl:if test="male/@status = 'eventopen'">
             <xsl:text>open</xsl:text>
             </xsl:if>
            </div>
           </td>
          </tr>
         </tbody>
        </table>
        <table align="none" width="100" border="2pt" cellspacing="1pt" cellpadding="1pt">
         <tbody>
          <tr>
           <td>
            <div style="text-align: none;">
             <xsl:text>female</xsl:text>
            </div>
           </td>
           <td>
            <div style="text-align: none;color: #FF0000;">
             <xsl:if test="male/@status = 'eventclosed'">
             <xsl:text>close</xsl:text>
             </xsl:if>
            </div>
           </td>
          </tr>
         </tbody>
        </table>
        <br/>
        <br/>
       </div>
      </div>
     </xsl:for-each>
    </div>
   </body>
  </html>
 </xsl:template>
</xsl:stylesheet><!-- Stylus Studio meta-information - (c) 2004-2006. Progress Software Corporation. All rights reserved.
<metaInformation>
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="coldfusion.xml" htmlbaseurl="" outputurl="" processortype="saxon6" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator=""/></scenarios><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/><MapperBlockPosition></MapperBlockPosition><TemplateContext></TemplateContext><MapperFilter side="source"></MapperFilter></MapperMetaTag>
</metaInformation>
-->