![]() | ||||||||
|
相关专区 | ||||||||
| ||||||||
|
精彩专题 | ||||||||
| ||||||||
|
主题社区 | ||||||||
|
| <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html" /> <xsl:template match="/article"> <table cellspacing="1" cellpadding="1" width="200" border="1"> <tbody> <tr> <td><xsl:value-of select="title" /></td> <td><xsl:value-of select="click" /></td> </tr> <tr> <td><xsl:value-of select="date" /></td> <td><xsl:value-of select="author" /></td> </tr> <tr> <td><xsl:value-of select="content" disable-output-escaping="yes" /></td> <td>测试By GlandJacky</td> </tr> </tbody> </table> </xsl:template> </xsl:stylesheet> |
| <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/xsl" href="test.xsl"?> <article> <id>47</id> <title>测试XML</title> <icategoryId>11</icategoryId> <key>测试XML</key> <content> <![CDATA[ <table cellspacing="1" cellpadding="1" width="200" border="1"> <tbody> <tr> <td>测试XML</td> <td> </td> </tr> <tr> <td>测试XML</td> <td> </td> </tr> <tr> <td>测试XML</td> <td> </td> </tr> </tbody> </table> ]]> </content> <author>GlandJacky</author> <date>2006-06-20 11:38:50.823</date> <updateBy>have not update user</updateBy> <updateTime>have not update time</updateTime> <click>0</click> <fileUrl>/star/boke/1150774719245/1150774719245.htm</fileUrl> <imageUrl>/star/boke/1150774719245/images/测试2</imageUrl> </article> |
| 软件频道精品推荐 | |||
|
|
|
|
|
![]() |
|
|
关注此文的读者还看过: