Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Wondering why the following doesn't work?
<umbraco:Item runat="server" field="PageTitle" xslt="$currentPage/parent::node/data [@alias='{0}']" />
Where PageTitle is a text string property in the page node. Ok in macro. Maybe inline xslt doesn't like $currentPage?
Mark
To be honest I don't use inline xslt... but try
<umbraco:Item runat="server" field="PageTitle" xslt="$currentPage/ancestor-or-self::node/data [@alias='{0}']" />
or
<umbraco:Item runat="server" field="PageTitle" xslt="//ancestor-or-self::node/data [@alias='{0}']" />
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
umbraco:item inline xslt to get parent property
Wondering why the following doesn't work?
<umbraco:Item runat="server" field="PageTitle" xslt="$currentPage/parent::node/data [@alias='{0}']" />
Where PageTitle is a text string property in the page node. Ok in macro. Maybe inline xslt doesn't like $currentPage?
Mark
To be honest I don't use inline xslt... but try
or
is working on a reply...