[xsl] XSL Transformation Question

Subject: [xsl] XSL Transformation Question
From: "Eric Fleming" <coolburn77@xxxxxxxxxxx>
Date: Fri, 20 Feb 2004 14:05:19 -0500
I have a rss feed I am trying to transform, but it will not read the img and
a tags from within the description of each item. The rss feed can be found
at http://www.cssvault.com/gallery.xml. The xsl I am using to transform the
file is below, any help would be appreciated:

<xsl:stylesheet version="1.0"
	<xsl:template match="channel">
		<div class="rssFeed">
			<div class="feedGeneralInfo">
				<div class="feedTitle"><a href="{link}"
title="{title}"><xsl:value-of select="title" /></a></div>
				<p class="feedDescription"><xsl:value-of
select="description" /></p>
				<xsl:apply-templates select="item" />
	<xsl:template match="item">
			<div class="itemTitle"><a href="{link}"
title="{title}"><xsl:value-of select="title" /></a></div>
			<div class="itemDescription"><xsl:apply-templates
select="img" /><xsl:apply-templates select="a" /><xsl:value-of
select="description" /></div>
	<xsl:template match="img">
		<div class="itemDescriptionImage"><img src="{src}" /></div>
	<xsl:template match="a">
		<div class="itemDescriptionLink"><a
href="{href}"><xsl:value-of select="a" /></a></div>

Eric Fleming

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread