xml 转成 html 的样式表 xsl 建议下载个ms xmlsdk吧,很简单的http://msdn.microsoft.com/XML/XMLDownloads/default.aspx 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 因为你没有格式要求,我大概写了一个如下的XSL<?xml version="1.0" encoding="GB2312" ?><xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> //十二分注意不能把TR和WD写成小写了,否则浏览器不识别!<xsl:template match="/"><html> <Body> <xsl:for-each select="apm"> <xsl:apply-templates/> </xsl:for-each> <Table border="1" cellpadding="5"> <xsl:for-each select="//title" > <tr> <xsl:apply-templates/> </tr> </xsl:for-each> </Table> </Body></html></xsl:template><xsl:template match="item"> <br/></xsl:template><xsl:template match="imag"> <td width="120" height="180"> <img width="120" height="180"> <xsl:attribute name="src"> <xsl:value-of/> </xsl:attribute> </img> </td></xsl:template></xsl:stylesheet>如果觉得不清晰,可以看一个简单的例子http://blog.csdn.net/hxhbluestar/archive/2004/08/17/77447.aspx希望能有所帮助! .Net有较成熟的识别繁体的OCR技术么 小测试,看你能做对不? 问题啊 如何为datagrid链接列设置多个参数传递给目标页面 类似VISO拖动功能的实现 在.net环境下如何链接MongoDB数据库? C#中openfile的过滤问题 简单问题,谢谢 如何用C#实现网络注册的问题 WinForm里面这样的边框是怎么实现的? 如何获得AxWindowsMediaPlayer控件的当前播放时间 请问下面这些东西怎么转换成中文
<?xml version="1.0" encoding="GB2312" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> //十二分注意不能把TR和WD写成小写了,否则浏览器不识别!<xsl:template match="/">
<html>
<Body>
<xsl:for-each select="apm">
<xsl:apply-templates/>
</xsl:for-each>
<Table border="1" cellpadding="5">
<xsl:for-each select="//title" >
<tr>
<xsl:apply-templates/>
</tr>
</xsl:for-each>
</Table>
</Body>
</html>
</xsl:template>
<xsl:template match="item">
<br/>
</xsl:template>
<xsl:template match="imag">
<td width="120" height="180">
<img width="120" height="180">
<xsl:attribute name="src">
<xsl:value-of/>
</xsl:attribute>
</img>
</td>
</xsl:template></xsl:stylesheet>如果觉得不清晰,可以看一个简单的例子
http://blog.csdn.net/hxhbluestar/archive/2004/08/17/77447.aspx希望能有所帮助!