Jun 25, 2012 at 10:08 PM
Edited Jun 25, 2012 at 10:11 PM
How can I insert an XSLT function inside a Class="" or Title="" attribute within a page template?
For example I have this piece of code:
<div class="ui-icon" title=""></div>
and I have a function looking like this:
<f:param name="Field" value="cae645a2-2691-4fcb-99d8-cc29b5df6462" />
I have numerous places where I would like to place 'input parameter XSLT functions' into page templates basically like this:
<div class="ui-icon" title="<f:function name="MyRentals.Functions.Fn_SettingsValue"> <f:param name="Field" value="cae645a2-2691-4fcb-99d8-cc29b5df6462" /> </f:function>"></div>
Where the function returns a string inside the quote marks at render time?
The above fails validation, am I missing a symbol which would allow me to embed this function into the space?
I was hoping to be able to use the same Function in many places across the site where the div's and span's around the function are very different.