Hello
How would I format the date to MM DD, YY?... the date is from <xsl:value-of select="pubDate"/>
Currently it's displaying as 2005-09-08 08:15:00.0 which is not validating.
Here is my XSL:
<div>
<xsl:for-each select="channel/item">
<div>
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="link"/>
</xsl:attribute>
<xsl:value-of select="title"/>
</xsl:element>
</div>
<div>
<xsl:value-of disable-output-escaping="yes" select="description" />
<br />
<span class="comments">
<xsl:value-of select="pubDate" />
</span>
</div><br />
</xsl:for-each>
</div>
</div>
Any help would be fantastic. Great site by the way.
W
How would I format the date to MM DD, YY?... the date is from <xsl:value-of select="pubDate"/>
Currently it's displaying as 2005-09-08 08:15:00.0 which is not validating.
Here is my XSL:
<div>
<xsl:for-each select="channel/item">
<div>
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="link"/>
</xsl:attribute>
<xsl:value-of select="title"/>
</xsl:element>
</div>
<div>
<xsl:value-of disable-output-escaping="yes" select="description" />
<br />
<span class="comments">
<xsl:value-of select="pubDate" />
</span>
</div><br />
</xsl:for-each>
</div>
</div>
Any help would be fantastic. Great site by the way.
W