Copied to clipboard

Flag this post as spam?

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


  • Vincent Ashby-Smith 67 posts 196 karma points
    Jan 21, 2010 @ 12:25
    Vincent Ashby-Smith
    0

    Error Parsing xslt file

    Hi all wonder if someone can help, i'm getting the following error on pages that aren't the top page, so sub pages of the top level pages. Don't really see whats wrong with it, so if anybody could have a look, i would be most greatful!

    <ul>
    <xsl:if test="$currentPage/ancestor-or-self::node/data[@alias='caseStudyIcon1'] != ''
    or $currentPage/ancestor-or-self::node/data[@alias='caseStudyHeader1'] != ''
    or $currentPage/ancestor-or-self::node/data[@alias='caseStudyLinkHeader1'] != ''
    or $currentPage/ancestor-or-self::node/data[@alias='caseStudyLink1'] != ''">
    <div class="rightColCaseStudiesContainer">
    <li class="caseStudyIcon1"><img src="{umbraco.library:GetMedia($currentPage/ancestor-or-self::node/data[@alias='caseStudyIcon1'], 'false')/data [@alias = 'umbracoFile']}" alt="Icon"/></li>
    <li class="caseStudy1"><xsl:value-of select="$currentPage/ancestor-or-self::node/data[@alias='caseStudyHeader1']"/><br />
    <a href="{umbraco.library:NiceUrl($currentPage/ancestor-or-self::node/data[@alias='caseStudyLink1'])}" title="{$currentPage/ancestor-or-self::node/data[@alias='caseStudyLinkHeader1']}">
    <strong><xsl:value-of select="$currentPage/ancestor-or-self::node/data[@alias='caseStudyLinkHeader1']"/></strong></a></li>
    </div>
    </xsl:if>
    </ul>

Please Sign in or register to post replies

Write your reply to:

Draft