I have a custom datatype based on the dropdown list on my template and I need to access the value selected in my xslt and I cant get it to work!
The dropdown contains the name of the css style sheet that needs to be applied to the page. I have tried using a page field, but when using run at server on the head tag this doesn't work as the pagefield renders as plain text rather than the actual value. I read somewhere using a macro will.. but I can't get it to work.
My line is xslt is:<xsl:value-of select="@theme" />
Access Page Field in XSLT
Hello All
I have a custom datatype based on the dropdown list on my template and I need to access the value selected in my xslt and I cant get it to work!
The dropdown contains the name of the css style sheet that needs to be applied to the page.
I have tried using a page field, but when using run at server on the head tag this doesn't work as the pagefield renders as plain text rather than the actual value.
I read somewhere using a macro will.. but I can't get it to work.
My line is xslt is:<xsl:value-of select="@theme" />
What am I doing wrong?
Bex
IGNORE DUPLICATE AND CANT DELETE
is working on a reply...