<html>
<head>
<title>Android Development Toolkit update site.</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>@import url("web/site.css");</style>
<script type="text/javascript">
var returnval = 0;
var stylesheet, xmlFile, cache, doc;
function init(){
// NSCP 7.1+ / Mozilla 1.4.1+ / Safari
// Use the standard DOM Level 2 technique, if it is supported
if (document.implementation && document.implementation.createDocument) {
xmlFile = document.implementation.createDocument("", "", null);
stylesheet = document.implementation.createDocument("", "", null);
if (xmlFile.load){
xmlFile.load("site.xml");
stylesheet.load("web/site.xsl");
} else {
alert("Document could not be loaded by browser.");
}
xmlFile.addEventListener("load", transform, false);
stylesheet.addEventListener("load", transform, false);
}
//IE 6.0+ solution
else if (window.ActiveXObject) {
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("web/site.xsl");
cache = new ActiveXObject("msxml2.XSLTemplate.3.0");
cache.stylesheet = stylesheet;
transformData();
}
}
// 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>
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
官方发布声明已经修复的bug: We've fixed a number of smaller issues in ADT 12 that don't deserve blog posts on their own, but here's a quick roundup: * Several important bugs related to the GestureOverlayView have been fixed. * Code completion inside a custom view layout has been improved * The proguard template has been tweaked such that it should no longer remove classes that are only referenced from XML * A problem with the property sheet not updating itself in Eclipse 3.6.2 has been fixed (and we improved the sorting of its categories) * Fragment-rendering inside included layouts has been fixed 这是最新版ADT插件,即ADT12.0,欢迎下载!
资源推荐
资源详情
资源评论






























收起资源包目录
















共 12 条
- 1
资源评论


veryitman
- 粉丝: 472
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 用MATLAB编写程序对机械振动信号进行分析2.doc
- 图像中对火灾与烟雾的目标检测识别
- 湖北曙光软件园项目前期策划.pptx
- 通信管道工程施工组织方案.doc
- 单片机热水器水温控制系统的方案设计书.doc
- 智慧城市解决方案.ppt
- 网络及其系统设计实施方案.docx
- 大连海事局大连海岸电台通信设备配套设施维护项目-辽宁海事局.doc
- 生物技术基因工程.ppt
- 大数据审计下统计分析方法研究.docx
- 基于项目管理理论工程项目风险管理研究开题报告.doc
- 基于STM32单片机6轴差分控制器应用设计.docx
- 区块链技术与供应链金融结合研究.docx
- 基于单片机单片机期末课程方案设计书.doc
- 测绘工程项目管理方案.doc
- 档案信息化建设与工程档案管理的重要性分析.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
