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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.