<root>
<NewsArticle>
<artTitle>Track</artTitle>
<artThumb><img alt="ArtThumbOne" src="artOne.png?n=5350" title="ArtThumbOne" align="middle" /></artThumb>
<artBodyImg><img src="rr.jpg?n=2314" alt="rr" /></artBodyImg>
</NewsArticle>
</root>
XSL:
<xsl:for-each select="/root/NewsArticle">
<div class="dispArtBody">
<img src="{artBodyImg/node()}" alt="{artTitle}" class="floatImgLeft" /><xsl:copy-of select="artText" />
</div>
<input type="hidden" value="{artTitle}" id="hdnArticleTitle" />
</xsl:for-each>
我在HTML源代码中看到以下内容:
<img src="" alt="The Comprehensive Breast Center: Quality Care on the Fast Track" class="floatImgLeft" />
我该如何解决。
答案 0 :(得分:2)