|
| |
名片设计 CorelDRAW Illustrator AuotoCAD Painter 其他软件 Photoshop Fireworks Flash |
|
读了很多关于.net的文章,也看了许多关于xml的资料,我已经深深的被他们的魅力所吸引。在网上的论坛中,大家对于.net的讨论更加火热一些,而我们的同事告诉我,其实xml是一个比.net更好的东西。包括其中的xslt,其未来要远远比.net要好。 其实争论谁好谁坏本身是没有多大意思的,因为.net本身已经和xml紧密的结合在一起了。这里我就用xml代替数据,写一个新闻发布系统,希望能够起到抛砖引玉的作用,使更多的人能够了解这些最新的技术。 下面介绍这几个文件。 </P><P>contents.xml <?xml version=\"1.0\" encoding=\"GB2312\"?> <topiclist type=\"AspCool News\"> <topic> <title>aspcool news!</title> <href>main.aspx?name=hello</href> </topic> <topic> <title>Resolve a problem</title> <href>main.aspx?name=test</href> </topic> </topiclist> </P><P>这是一个很简朴的xml文件,它的作用是用来显示新闻的列表。 </P><P>hello.xml </P><P><?xml version=\"1.0\" encoding=\"GB2312\"?> <document> <title>aspcool news!</title> <abstract>test news</abstract> <author>feiying</author> <content> <paragraph>The firet test</paragraph> </content> </document> </P><P> 返回类别: 教程 上一教程: ASP.NET中用healthMonitor属性用法 下一教程: 容器中控件的拖动 您可以阅读与"用asp.net和xml做的新闻更新系统(1)"相关的教程: · 用asp.net和xml做的新闻更新系统(2) · 用asp.net和xml做的新闻更新系统(3) · 用ASP.NET和XML做的新闻系统 · 设计ASP.NET新闻治理系统 · ASP.NET创建XML Web服务全接触(8) |
| 快精灵印艺坊 版权所有 |
首页 |
||