<html>
<head>
<title>Chen Chao's Projects Update</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>@import url("site.css");</style>
<script type="text/javascript">
var stylesheet, xmlFile, cache, doc;
function init(){
var xml = loadXMLDoc("site.xml");
var xsl = loadXMLDoc("site.xsl");
if (window.ActiveXObject || "ActiveXObject" in window){
try{
document.getElementById("data").innerHTML = xml.transformNode(xsl.documentElement);
}
catch(e){
displayAtIE6Plus();
}
}
else if (window.ActiveXObject){
displayAtIE6Plus();
}
else if (document.implementation && document.implementation.createDocument)
{
var processor = new XSLTProcessor();
processor.importStylesheet(xsl);
doc = processor.transformToDocument(xml);
document.getElementById("data").innerHTML = doc.documentElement.innerHTML;
}
}
function displayAtIE6Plus(){
xmlFile = new ActiveXObject("msxml2.DOMDocument.3.0");
xmlFile.async = false;
xmlFile.load("site.xml");
stylesheet = new ActiveXObject("msxml2.FreeThreadedDOMDocument.3.0");
stylesheet.async = false;
stylesheet.load("site.xsl");
cache = new ActiveXObject("msxml2.XSLTemplate.3.0");
cache.stylesheet = stylesheet;
transformData();
}
function loadXMLDoc(url) {
if (typeof XMLHttpRequest !== 'undefined')
{
var xhr = new XMLHttpRequest();
xhr.open('GET', url, false);
try { xhr.responseType = 'msxml-document'; } catch(e){}
xhr.send();
return xhr.responseXML;
}
else {
try {
var xhr = new ActiveXObject('Msxml2.XMLHTTP.3.0');
xhr.open('GET', url, false);
xhr.send();
return xhr.responseXML;
}
catch (e) {}
}
}
// separate transformation function for IE 6.0+
function transformData(){
var processor = cache.createProcessor();
processor.input = xmlFile;
processor.transform();
data.innerHTML = processor.output;
}
// separate transformation function for NSCP 7.1+ and Mozilla 1.4.1+
function transform(){
returnval+=1;
if (returnval==2){
var processor = new XSLTProcessor();
processor.importStylesheet(stylesheet);
doc = processor.transformToDocument(xmlFile);
document.getElementById("data").innerHTML = doc.documentElement.innerHTML;
}
}
</script>
</head>
<body onload="init();">
<!--[insert static HTML here]-->
<div id="data"><!-- this is where the transformed data goes --></div>
</body>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
最新eclipse反编译离线包1.0.3org.sf.feeling.decompiler
共9个文件
jar:5个
xsl:1个
xml:1个
需积分: 13 8 下载量 16 浏览量
2017-08-18
16:03:44
上传
评论
收藏 742KB ZIP 举报
温馨提示
org.sf.feeling.decompiler_1.0.3 eclipse反编译离线包
资源推荐
资源详情
资源评论
收起资源包目录
org.sf.feeling.decompiler_1.0.3.zip (9个子文件)
features
org.sf.feeling.decompiler_1.0.0.v20160605.jar 24KB
artifacts.jar 638B
site.xml 771B
content.jar 4KB
plugins
org.sf.feeling.decompiler.update_1.0.0.v20160605.jar 35KB
org.sf.feeling.decompiler_1.0.0.v20160605.jar 700KB
index.html 2KB
site.xsl 8KB
site.css 730B
共 9 条
- 1
资源评论
不能吃辣的JAVA程序猿
- 粉丝: 171
- 资源: 25
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功