All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
最简单删除SQL,Server中所有数据的方法_mssql学习_编程技术
C#中同一DataTable中合并相同条件的行数据_[Asp.Net教程]
XML入门教程:XML是如何被利用的?_[XML教程]
ASP.NET,2.0,中的创建母版页_[Asp.Net教程]
PHP代码:从数据表里塞选出重复的数据_php资料_编程技术
ASP.NET上传文件面面观_[Asp.Net教程]
浅议ASP.NET中Session的状态保持方式_[Asp.Net教程]
asp.net2.0控件DataList实例应用
ASP.NET中实现多文件上传的实例程序代码_.net资料_编程技术
PHP实例教程:PHP实现文件安全下载的程序_[PHP教程]
Reading number is top 10 pictures
性感丰满身材火爆de美女2
girl of HuNan name is LiXiang(湖南辣姐李湘的写真)
乳娘帕梅拉安德森2
Azusa Yamamoto1
如果我是导演...
China's first snake village1
Angie Chiu vijara myth2
Go to the national museum3
The real super beauty3
A man's favorite things14
Download software ranking
Unix video tutorial14
Unix video tutorial8
c#程序设计案例教程
美女写真2
Popkart Cracked versions Mobile phone games
圣殿祭司的ASP.NET.2.0.开发详解-使用C#
Boxer's Top ten classic battle1
天龙八部最新服务端
jdk1.6 for windows
电脑知识及技巧大合集
delv published in(发表于) 2013/12/31 6:41:32 Edit(编辑)
灵活调用xsl来解析xml文档(js异步)_JavaScript技术_编程技术

灵活调用xsl来解析xml文档(js异步)_JavaScript技术_编程技术

灵活调用xsl来解析xml文档(js异步)_JavaScript技术_编程技术-你的首页-uuhomepage.com
1.新建一个vs2003的web工程,取名为XMLTest

2.将工程目录下的WebForm1.aspx中内容全部删除,只留下顶部的一条语句:

<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="XMLTest.WebForm1" %>


3.修改WebForm1.aspx.cs中内容,在Page_Load中加入:


XmlDocument doc=new XmlDocument();
String xmlfile=string.Empty;
xmlfile=Context.Request.PhysicalApplicationPath+(Request.QueryString["sel"].ToString()=="xml"?"\\hello.xml":"\\hello.xsl");
doc.Load(xmlfile);
Response.Write(doc.InnerXml);



添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.