Copied to clipboard

Flag this post as spam?

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


  • kannandesikan 48 posts 68 karma points
    Dec 04, 2012 @ 10:56
    kannandesikan
    0

    umbraco xslt doubt

    Hi,

    pls explain below logic in xslt

    $currentPage//*[@isDoc]

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Dec 04, 2012 @ 11:03
    Dennis Aaen
    0

    Hi kannandesikan,

    With this xslt logic $currentPage//*[@isDoc] you will retrieves all nodes below the node in reference no matter the depth.

    So it will show all the nodes on the currentPage, and by default the currentPage is the requested page.

    On this link you can read about the different axes in Umbraco.

    http://our.umbraco.org/wiki/reference/xslt/xpath-axes-and-their-shortcuts

    Hope it´s help you.

    /Dennis

Please Sign in or register to post replies

Write your reply to:

Draft