Hi. I'm new with Umbraco and XSLT. I have installed Umbraco 4.5.2. I wanted to try making a news list just like the video tutorial called 'creating a news list'.
I want to have the news title and summary below it (just like in the video). So in the xslt editor, i inserted the value:
<xsl:value-of select="summary"/>
My problem is, its not displayed correctly in the browser. My news section looks like this:
<p><span>By speaker to August INBC/DBA event</span><br /> THE current financial and economic crisis seems to be moving into a phase where the deceleration is losing steam. But we are still in unknown territory, wondering how long it will take before a flat economy caught by stagnation will gain sufficient momentum to accelerate.</p>
How can I display the news summary without having the html tags? Thanks
insert XSLT:value of
Hi. I'm new with Umbraco and XSLT. I have installed Umbraco 4.5.2. I wanted to try making a news list just like the video tutorial called 'creating a news list'.
I want to have the news title and summary below it (just like in the video). So in the xslt editor, i inserted the value:
<xsl:value-of select="summary"/>
My problem is, its not displayed correctly in the browser. My news section looks like this:
China to the Rescue: Growing Out of the Financial Crisis
<p>Vedlagt er artikel med vores speaker ved næste møde</p>Global fixes needed for global crisis
<p><span>By speaker to August INBC/DBA event</span><br /> THE current financial and economic crisis seems to be moving into a phase where the deceleration is losing steam. But we are still in unknown territory, wondering how long it will take before a flat economy caught by stagnation will gain sufficient momentum to accelerate.</p>
How can I display the news summary without having the html tags? Thanks
Hi Angie, welcome to Umbraco!
If you want to render the HTML, (not display the tags), then add the following attribute to your XSLT:
... or if you want to remove the HTML formatting completely, try this:
Cheers, Lee.
It works..Thanks, Lee :)
is working on a reply...