Getting a recursive value in xslt in Umbraco.

/ Published in: XSLT
Save to your folder(s)

Umbraco specific xslt snippet that I use regularly. (via neehouse) originally from:

Copy this code and paste it in your HTML
  1. <xsl:variable
  2. name="recursiveValue"
  3. select="$currentPage/ancestor-or-self::node string(data[@alias='recursiveValue'])!=''] [position()=1] /data[@alias='field']"
  4. />

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.