Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Darryl Godden 145 posts 197 karma points
    May 20, 2011 @ 15:12
    Darryl Godden
    0

    Error parsing XSLT

    Hi all,

    I've been staring at this for a little while and getting nowhere. Can you see what's wrong with this line:

    <href="#" onClick="loadFestivalInfo('{umbraco.library:NiceUrl(event)}','{position()}')" class="more-info">

    I've got the usual "System.OverflowException: Value was either too large or too small for an Int32." but for the life of me I think this should work!

    Thanks

  • Rich Green 2246 posts 4008 karma points
    May 20, 2011 @ 15:23
    Rich Green
    2

    Hey,

    Either click 'Skip testing' or add a check first

    <xsl:if test="event != '' ">
        <a href="#" onClick="loadFestivalInfo('{umbraco.library:NiceUrl(event)}','{position()}')" class="more-info">
    </xsl:if>

    Rich

  • Darryl Godden 145 posts 197 karma points
    May 20, 2011 @ 16:04
    Darryl Godden
    0

    "woods for the trees" - bang on Rich, thanks.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies