smsm08 0 Newbie Poster

Quoted Text Here
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema"
xmlns:d="http://schemas.microsoft.com/sharepoint/dsp"
version="1.0" exclude-result-prefixes="xsl msxsl ddwrt"
xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime"
xmlns:asp="http://schemas.microsoft.com/ASPNET/20"
xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:SharePoint="Microsoft.SharePoint.WebControls"
xmlns:rs="urn:schemas-microsoft-com:rowset"
xmlns:z="#RowsetSchema">
<xsl:output method="html" indent="no"/>
<xsl:template match="//xml">
<span style="border:solid 1px black">
-<xsl:value-of select="@query"/>-
</span>
<xsl:for-each select="//z:row">
<div>
<xsl:value-of select="@ows_LinkTitle"/>
</div>
<div>
<xsl:value-of select="@ows_Body"/>
</div>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>

Gave me the result

Quoted Text Here

Wellness Week

We are having a wellness week starting April 1st, 2012 till April 7th, 2012.


Flu Shots Coming Soon

​Morbi dolor tellus, tincidunt sit amet, aliquet ut, euismod in, arcu.


Benefit Enrollment Time

​ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dolor tellus, tincidunt sit amet, aliquet ut, euismod in, arcu.​

I need the format below:

Wellness Week
We are having a wellness week starting April 1st, 2012 till April 7th, 2012.

Flu Shots Coming Soon
Morbi dolor tellus, tincidunt sit amet, aliquet ut, euismod in, arcu.

Benefit Enrollment Time
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi dolor tellus, tincidunt sit amet, aliquet ut, euismod in, arcu.

What change will I be making to the xslt code I pasted above to get the desired o/p. Since I am a newbie in xslt, I expect to get some guidance in this forum. TIA