扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
作者:廖煜嵘 来源:天极网 2007年11月7日
关键字: Windows
<TREENODES> <treenode text="..."> <treenode text="..."> </treenode> <treenode text="..." /> ... </TREENODES> |
<?xml version="1.0" encoding="UTF-8"?> <TREENODES> <treenode text="Teach Yourself Active Server_u80 ?ages 3.0 in 21 Days"> <treenode text="Price - $34.95" /> <treenode text="Authors"> <treenode text="Mitchell" /> <treenode text="Atkinson" /> </treenode> <treenode text="Year Published - 2000" /> </treenode> <treenode text="Designing Active Server Pages"> <treenode text="Price - $29.95" /> <treenode text="Authors"> <treenode text="Mitchell" /> </treenode> <treenode text="Year Published - 2000" /> </treenode> 〈/TREENODES> |
<form runat="server"> <ie:TreeView runat="server"> <ie:TreeNode runat="server" Text="ASP.NET Books" Expanded="True" TreeNodeSrc="aspnetbooks.xml" /> </ie:TreeView> </form> |
ASP.NET Books Teach Yourself Active Server Pages 3.0 in 21 Days Designing Active Server Pages ASP.NET: Tips, Tutorials, and Code Programming ASP.NET |
<form runat="server"> <ie:TreeView runat="server"> <ie:TreeNode runat="server" Text="ASP.NET Books" Expanded="True" TreeNodeSrc="aspnetbooks.xml" TreeNodeXsltSrc="aspbooks.xsl" /> </ie:TreeView> </form> |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> <xsl:template match="/books"> <TREENODES> <xsl:for-each select="book"> <treenode> <xsl:attribute name="text"> <xsl:value-of select="title" /> </xsl:attribute> <treenode> <xsl:attribute name="text"> Price - $<xsl:value-of select="@price" /> </xsl:attribute> </treenode> <treenode text="Authors"> <xsl:for-each select="authors/author"> <treenode> <xsl:attribute name="text"> <xsl:value-of select="text()" /> </xsl:attribute> </treenode> </xsl:for-each> </treenode> <treenode> <xsl:attribute name="text"> Year Published - <xsl:value-of select="year" /> </xsl:attribute> </treenode> </treenode> </xsl:for-each> </TREENODES> </xsl:template> </xsl:stylesheet> |
<xsl:attribute name="text"> <xsl:value-of select="title" /> </xsl:attribute> |
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者