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
Hi,
I am a bit confused....
In my DocumentType I have defined two richtext-elements. One for each column in a table. When I call the elements in the Template they present nicely - but when i call "Column1" in my XSLT they return both "Column1" AND "Column2"...
Is there some kind of explanation??
TEMPLATE*********************************************<table><tr><td width="270" valign="top"><umbraco:Item field="column1" runat="server"></umbraco:Item></td><td width="10"></td><td width="270" valign="top"><umbraco:Item field="column2" runat="server"></umbraco:Item></td></tr></table>
XLST*********************************************<xsl:if test="$template = 'table'"><table><tr><td width="270" valign="top"><xsl:value-of select="umbraco.library:GetXmlNodeById(umbraco.library:RequestQueryString('ID'))/self::node [data [@alias='column1']]" disable-output-escaping="yes"/></td><td width="10"></td><td width="270" valign="top"><xsl:value-of select="umbraco.library:GetXmlNodeById(umbraco.library:RequestQueryString('ID'))/self::node [data [@alias='column2']]" disable-output-escaping="yes"/></td></tr></table></xsl:if>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Strange behaviour .... richtext-elements in XLST
Hi,
I am a bit confused....
In my DocumentType I have defined two richtext-elements. One for each column in a table. When I call the elements in the Template they present nicely - but when i call "Column1" in my XSLT they return both "Column1" AND "Column2"...
Is there some kind of explanation??
is working on a reply...