Welcome to the Dockwalk.com Forum

 

In order to post a comment in one of the forum topics, you must log in or sign up. Your display name will appear next to your posts unless you check the Post Anonymously box. When writing a post, please follow our forum guidelines. If you come across a post that you would like us to review, use the Report Post button. Please note the opinions shared in the forums do not necessarily reflect the views of Dockwalk.


RSS Feed Print
YAG Gold Challenge - June 5 Regents Park London - 10k run
Captain Mark Drewelow - C2C inc San Diego
Posted: Sunday, May 8, 2011 2:53 PM
Joined: 07/12/2008
Posts: 66


A challenge to the industry to support the runners and walkers participating in the first YAG Gold Challenge. June 5, 2011 Regents Park London. For information click on this link: http://www.thecrewreport.com/superyacht_crew_news.asp?id=17311
 
Error: Error parsing XML document.
The 'stringBy' start tag on line 2 does not match the end tag of 'result'. Line 2, position 210. Line 2, position 210.
Line: 2
Position: 210

at Ektron.Cms.EkXml.XSLTransform1(String XmlDoc, String XsltDoc, Boolean XsltAsFile, Boolean XmlAsFile, XsltArgumentList XsltArgs, Boolean ReturnExceptionMessage, XmlResolver DocumentResolver, Double cacheInterval, String applicationPath, Boolean secureOverride)


XML:
<result> <resourceStrings><stringAverage>Average</stringAverage><stringReviews>Reviews</stringReviews><stringPendingApproval>Pending Approval</stringPendingApproval><stringRejected>Rejected</stringRejected><stringBy></result>



XSLT:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <script type="text/javascript" src="/WorkArea/java/rating5starinc.js"></script> <input type="hidden" name="ctl00_mainContentPlaceHolder_ctl00_ratingekrelected" id="ctl00_mainContentPlaceHolder_ctl00_ratingekrelected"> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="result/general/rated='1'"><xsl:value-of select="result/general/myrating"/></xsl:when> <xsl:otherwise><xsl:value-of select="result/general/average"/></xsl:otherwise> </xsl:choose> </xsl:attribute> </input> <input type="hidden" name="ekkey" id="ekkey" value="ctl00_mainContentPlaceHolder_ctl00_rating" /> <input type="hidden" name="ekapppath" id="ekapppath" value="/WorkArea/" /> <input type="hidden" name="ekimgpath" id="ekimgpath" value="/WorkArea/images/application/" /> <input type="hidden" name="ctl00_mainContentPlaceHolder_ctl00_rating_israted" id="ctl00_mainContentPlaceHolder_ctl00_rating_israted"> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="result/general/rated='1'"> 1 </xsl:when> <xsl:otherwise> 0 </xsl:otherwise> </xsl:choose> </xsl:attribute> </input> <input type="hidden" name="ctl00_mainContentPlaceHolder_ctl00_ratingekcontentid" id="ctl00_mainContentPlaceHolder_ctl00_ratingekcontentid" value="40732" /> <img id="ctl00_mainContentPlaceHolder_ctl00_ratingri1" alt="" onclick="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',1,'click');" onmouseover="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',1,'over')" onmouseout="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',1,'out');"> <xsl:attribute name="src"> <xsl:choose> <xsl:when test="result/general/rated='1' and result/general/myrating&gt;0">/WorkArea/images/application/star_l_s.gif</xsl:when> <xsl:when test="result/general/rated='1' and result/general/myrating&lt;1">/WorkArea/images/application/star_l_e.gif</xsl:when> <xsl:when test="result/general/rated='0' and result/general/average&gt;0">/WorkArea/images/application/star_l_f.gif</xsl:when> <xsl:when test="result/general/rated='0' and result/general/average&lt;1">/WorkArea/images/application/star_l_e.gif</xsl:when> </xsl:choose> </xsl:attribute> </img><img id="ctl00_mainContentPlaceHolder_ctl00_ratingri2" alt="" onclick="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',2,'click');" onmouseover="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',2,'over')" onmouseout="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',2,'out');"> <xsl:attribute name="src"> <xsl:choose> <xsl:when test="result/general/rated='1' and result/general/myrating&gt;1">/WorkArea/images/application/star_r_s.gif</xsl:when> <xsl:when test="result/general/rated='1' and result/general/myrating&lt;2">/WorkArea/images/application/star_r_e.gif</xsl:when> <xsl:when test="result/general/rated='0' and result/general/average&gt;1">/WorkArea/images/application/star_r_f.gif</xsl:when> <xsl:when test="result/general/rated='0' and result/general/average&lt;2">/WorkArea/images/application/star_r_e.gif</xsl:when> </xsl:choose> </xsl:attribute> </img><img id="ctl00_mainContentPlaceHolder_ctl00_ratingri3" alt="" onclick="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',3,'click');" onmouseover="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',3,'over')" onmouseout="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',3,'out');"> <xsl:attribute name="src"> <xsl:choose> <xsl:when test="result/general/rated='1' and result/general/myrating&gt;2">/WorkArea/images/application/star_l_s.gif</xsl:when> <xsl:when test="result/general/rated='1' and result/general/myrating&lt;3">/WorkArea/images/application/star_l_e.gif</xsl:when> <xsl:when test="result/general/rated='0' and result/general/average&gt;2">/WorkArea/images/application/star_l_f.gif</xsl:when> <xsl:when test="result/general/rated='0' and result/general/average&lt;3">/WorkArea/images/application/star_l_e.gif</xsl:when> </xsl:choose> </xsl:attribute> </img><img id="ctl00_mainContentPlaceHolder_ctl00_ratingri4" alt="" onclick="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',4,'click');" onmouseover="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',4,'over')" onmouseout="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',4,'out');"> <xsl:attribute name="src"> <xsl:choose> <xsl:when test="result/general/rated='1' and result/general/myrating&gt;3">/WorkArea/images/application/star_r_s.gif</xsl:when> <xsl:when test="result/general/rated='1' and result/general/myrating&lt;4">/WorkArea/images/application/star_r_e.gif</xsl:when> <xsl:when test="result/general/rated='0' and result/general/average&gt;3">/WorkArea/images/application/star_r_f.gif</xsl:when> <xsl:when test="result/general/rated='0' and result/general/average&lt;4">/WorkArea/images/application/star_r_e.gif</xsl:when> </xsl:choose> </xsl:attribute> </img><img id="ctl00_mainContentPlaceHolder_ctl00_ratingri5" alt="" onclick="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',5,'click');" onmouseover="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',5,'over')" onmouseout="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',5,'out');"> <xsl:attribute name="src"> <xsl:choose> <xsl:when test="result/general/rated='1' and result/general/myrating&gt;4">/WorkArea/images/application/star_l_s.gif</xsl:when> <xsl:when test="result/general/rated='1' and result/general/myrating&lt;5">/WorkArea/images/application/star_l_e.gif</xsl:when> <xsl:when test="result/general/rated='0' and result/general/average&gt;4">/WorkArea/images/application/star_l_f.gif</xsl:when> <xsl:when test="result/general/rated='0' and result/general/average&lt;5">/WorkArea/images/application/star_l_e.gif</xsl:when> </xsl:choose> </xsl:attribute> </img><img id="ctl00_mainContentPlaceHolder_ctl00_ratingri6" alt="" onclick="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',6,'click');" onmouseover="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',6,'over')" onmouseout="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',6,'out');"> <xsl:attribute name="src"> <xsl:choose> <xsl:when test="result/general/rated='1' and result/general/myrating&gt;5">/WorkArea/images/application/star_r_s.gif</xsl:when> <xsl:when test="result/general/rated='1' and result/general/myrating&lt;6">/WorkArea/images/application/star_r_e.gif</xsl:when> <xsl:when test="result/general/rated='0' and result/general/average&gt;5">/WorkArea/images/application/star_r_f.gif</xsl:when> <xsl:when test="result/general/rated='0' and result/general/average&lt;6">/WorkArea/images/application/star_r_e.gif</xsl:when> </xsl:choose> </xsl:attribute> </img><img id="ctl00_mainContentPlaceHolder_ctl00_ratingri7" alt="" onclick="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',7,'click');" onmouseover="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',7,'over')" onmouseout="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',7,'out');"> <xsl:attribute name="src"> <xsl:choose> <xsl:when test="result/general/rated='1' and result/general/myrating&gt;6">/WorkArea/images/application/star_l_s.gif</xsl:when> <xsl:when test="result/general/rated='1' and result/general/myrating&lt;7">/WorkArea/images/application/star_l_e.gif</xsl:when> <xsl:when test="result/general/rated='0' and result/general/average&gt;6">/WorkArea/images/application/star_l_f.gif</xsl:when> <xsl:when test="result/general/rated='0' and result/general/average&lt;7">/WorkArea/images/application/star_l_e.gif</xsl:when> </xsl:choose> </xsl:attribute> </img><img id="ctl00_mainContentPlaceHolder_ctl00_ratingri8" alt="" onclick="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',8,'click');" onmouseover="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',8,'over')" onmouseout="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',8,'out');"> <xsl:attribute name="src"> <xsl:choose> <xsl:when test="result/general/rated='1' and result/general/myrating&gt;7">/WorkArea/images/application/star_r_s.gif</xsl:when> <xsl:when test="result/general/rated='1' and result/general/myrating&lt;8">/WorkArea/images/application/star_r_e.gif</xsl:when> <xsl:when test="result/general/rated='0' and result/general/average&gt;7">/WorkArea/images/application/star_r_f.gif</xsl:when> <xsl:when test="result/general/rated='0' and result/general/average&lt;8">/WorkArea/images/application/star_r_e.gif</xsl:when> </xsl:choose> </xsl:attribute> </img><img id="ctl00_mainContentPlaceHolder_ctl00_ratingri9" alt="" onclick="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',9,'click');" onmouseover="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',9,'over')" onmouseout="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',9,'out');"> <xsl:attribute name="src"> <xsl:choose> <xsl:when test="result/general/rated='1' and result/general/myrating&gt;8">/WorkArea/images/application/star_l_s.gif</xsl:when> <xsl:when test="result/general/rated='1' and result/general/myrating&lt;9">/WorkArea/images/application/star_l_e.gif</xsl:when> <xsl:when test="result/general/rated='0' and result/general/average&gt;8">/WorkArea/images/application/star_l_f.gif</xsl:when> <xsl:when test="result/general/rated='0' and result/general/average&lt;9">/WorkArea/images/application/star_l_e.gif</xsl:when> </xsl:choose> </xsl:attribute> </img><img id="ctl00_mainContentPlaceHolder_ctl00_ratingri10" alt="" onclick="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',10,'click');" onmouseover="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',10,'over')" onmouseout="rhdlr('ctl00_mainContentPlaceHolder_ctl00_rating',10,'out');"> <xsl:attribute name="src"> <xsl:choose> <xsl:when test="result/general/rated='1' and result/general/myrating&gt;9">/WorkArea/images/application/star_r_s.gif</xsl:when> <xsl:when test="result/general/rated='1' and result/general/myrating&lt;10">/WorkArea/images/application/star_r_e.gif</xsl:when> <xsl:when test="result/general/rated='0' and result/general/average&gt;9">/WorkArea/images/application/star_r_f.gif</xsl:when> <xsl:when test="result/general/rated='0' and result/general/average&lt;10">/WorkArea/images/application/star_r_e.gif</xsl:when> </xsl:choose> </xsl:attribute> </img>&#160;<xsl:if test="result/general/staraverage &gt; -1"><span class="ratingText"><xsl:value-of select="/result/resourceStrings/stringAverage"/><xsl:text> </xsl:text><xsl:value-of select="result/general/staraverage"/><xsl:text> </xsl:text><xsl:value-of select="/result/resourceStrings/stringOutOf5"/></span></xsl:if> </xsl:template> </xsl:stylesheet>