Copied to clipboard

Flag this post as spam?

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


  • pan_wlodek 5 posts 25 karma points
    Nov 06, 2012 @ 23:14
    pan_wlodek
    0

    XSLT error System.NullReferenceException

    Hello,
    When I try to create XSLT file, I have a problem.
    Can anyone help me?

  • Brendan Rice 538 posts 1102 karma points
    Nov 07, 2012 @ 00:39
    Brendan Rice
    0

    Instead of 

    <xsl:value-of select="work" />

    try

    <xsl:value-of select="('work')" />

    This will tell you if it is an error with your XSLT select statement or not as you will just be selecting a string

  • pan_wlodek 5 posts 25 karma points
    Nov 07, 2012 @ 01:10
    pan_wlodek
    0

    I changed it but it still doesn't work...

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Nov 07, 2012 @ 09:35
    Dennis Aaen
    0

    Hi pan_wlodek,

    I think I know what is wrong here.

    Try this one, to see if it´s solve your error problem.

    <xsl:value-of select="$currentPage/work"/>

    This will write the value of the field with the work property, on the page where the album macro is placed.

    I hope this can help you further.

    /Dennis

  • pan_wlodek 5 posts 25 karma points
    Nov 07, 2012 @ 09:49
    pan_wlodek
    0

    It still doesn't work... :(

Please Sign in or register to post replies

Write your reply to:

Draft