Notice
Web Server Problem
The server that hosts our site is currently experiencing problems that prevent our xml-based content from displaying correctly. Please check back later. We apologize for any inconvenience this may cause. -Webmaster, 01/12/2009
CBHR's Dr. Wendell Haag Announced as 2007 Presidential Early Career Scientist Award Winner
Southern Research Station News Release
Learn more about Dr. Haag's research.
Learn more about Dr. Haag's technique for aging mussel shells.
MM_XSLTransform error.Transformation Error.
XSLTProcessor::transformToDoc() [xsltprocessor.transformtodoc]: runtime error: file /u2/www/srs/cbhr/ line 26 element value-of
XSLTProcessor::transformToDoc() [xsltprocessor.transformtodoc]: Variable 'indx' has not been declared.
XSLTProcessor::transformToDoc() [xsltprocessor.transformtodoc]: xmlXPathCompiledEval: evaluation failed
XSLTProcessor::transformToDoc() [xsltprocessor.transformtodoc]: runtime error: file /u2/www/srs/cbhr/ line 26 element value-of
XSLTProcessor::transformToDoc() [xsltprocessor.transformtodoc]: XPath evaluation returned no result. in file local-resources/xsltfrags/CBHRSpotlights.xsl
<?xml version="1.0" encoding="iso-8859-1"?><!-- DWXMLSource="/cbhr/feeds/cbhrspotlights.xml" --> <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> <!ENTITY copy "©"> <!ENTITY reg "®"> <!ENTITY trade "™"> <!ENTITY mdash "—"> <!ENTITY ldquo "“"> <!ENTITY rdquo "”"> <!ENTITY pound "£"> <!ENTITY yen "¥"> <!ENTITY euro "€"> ]> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" encoding="iso-8859-1"/> <xsl:template match="/"> <p class="topic">Spotlights</p> <xsl:call-template name="loop"> <xsl:with-param name="indx" select="1"></xsl:with-param> <xsl:with-param name="count" select="6"></xsl:with-param> </xsl:call-template> <p class="more"><a href="/cbhr/spotlights/spotlights.php">More spotlights...</a></p> </xsl:template> <xsl:template name="loop"> <xsl:value-of select="$indx"/> <xsl:if test="$indx < $count"> <xsl:for-each select="spotlights/spotlight[$indx]"> <p class="qptext"><a href="{link}"><xsl:value-of select="./title"/></a></p> <xsl:choose> <xsl:when test="boolean(./img)"> <table class="spotlight"> <tr> <td> <xsl:element name="img"> <xsl:attribute name="alt"><xsl:value-of select="img/@alt"/></xsl:attribute> <xsl:attribute name="src"><xsl:value-of select="img/@src"/></xsl:attribute> <xsl:attribute name="height">75</xsl:attribute> </xsl:element> </td> <td><p class="topictext"><xsl:value-of select="./description"/></p></td> </tr> </table> </xsl:when> <xsl:otherwise> <p class="topictext"><xsl:value-of select="./description"/></p> </xsl:otherwise> </xsl:choose> </xsl:for-each> <xsl:call-template name="loop"> <xsl:with-param name="count" select="$count"/> <xsl:with-param name="indx" select="$indx+1"/> </xsl:call-template> </xsl:if> </xsl:template> </xsl:stylesheet>