帮我把这个XML转成XSL吧 <?xml version="1.0" encoding="GBK"?><title> <title-content> <title-info-year>2008</title-info-year> <title-info-month>2</title-info-month> <title-info-title>zhang piao</title-info-title> </title-content></title>应该很简单的,但我是新手,不太懂XSL 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 此回复为自动发出,仅用于显示而已,并无任何其他特殊作用楼主【mj1958】截止到2008-06-26 13:48:27的历史汇总数据(不包括此帖):发帖数:0 发帖分:0 结贴数:0 结贴分:0 未结数:0 未结分:0 结贴率:-------------------结分率:-------------------如何结贴请参考这里:http://topic.csdn.net/u/20080501/09/ef7ba1b3-6466-49f6-9d92-36fe6d471dd1.html xml转成xsl???两者的功能都不一样啊xml用来存数据xsl用来表示显示格式......查点资料啊 就是让它显示出来,因为我对XSL语法不太明白,所以只要是能正常显示出来就好 <?xml version='1.0'?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match="/"> <html> <head> </head> <body> <xsl:apply-templates select="title/title-content"/> </body></html></xsl:template><xsl:template match="title-content"> <xsl:value-of select="title-info-year"/> <xsl:value-of select="title-info-month"/> <xsl:value-of select="title-info-title"/></xsl:template></xsl:stylesheet>自己再插点html吧,好看点。 <?xml-stylesheet type="text/xsl" href="yourxsltfile.xsl"?>这句引用放到xml文件前边 </xsl:template> <xsl:template match="title-content"> <xsl:value-of select="title-info-year"/> <xsl:value-of select="title-info-month"/> <xsl:value-of select="title-info-title"/> </xsl:template> ssh整合的错误 Tomcat服务器证书配置 Spring的代理问题 是Session过期还是数据库链接超时?? 本人需要一个Ajax验证的登陆 帮忙翻译一段内容!谢谢了 java下用过水晶报表的帮个帮。 JBuilder9生成的归档包如何直接运行? MyEclipse与Tomcat配置问题 急!!!tomcat项目下的包里有图片,但是eclipse项目里对应的包刷新也没有图片 crystal report resin服务器问题请高手帮忙解决
楼主【mj1958】截止到2008-06-26 13:48:27的历史汇总数据(不包括此帖):
发帖数:0 发帖分:0
结贴数:0 结贴分:0
未结数:0 未结分:0
结贴率:-------------------结分率:-------------------
如何结贴请参考这里:http://topic.csdn.net/u/20080501/09/ef7ba1b3-6466-49f6-9d92-36fe6d471dd1.html
两者的功能都不一样啊
xml用来存数据
xsl用来表示显示格式......
查点资料啊
就是让它显示出来,因为我对XSL语法不太明白,所以只要是能正常显示出来就好
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match="/">
<html>
<head>
</head>
<body>
<xsl:apply-templates select="title/title-content"/>
</body>
</html></xsl:template><xsl:template match="title-content">
<xsl:value-of select="title-info-year"/>
<xsl:value-of select="title-info-month"/>
<xsl:value-of select="title-info-title"/>
</xsl:template></xsl:stylesheet>
自己再插点html吧,好看点。
这句引用放到xml文件前边
<xsl:value-of select="title-info-year"/>
<xsl:value-of select="title-info-month"/>
<xsl:value-of select="title-info-title"/>
</xsl:template>