⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xslt_script.js

📁 ajax patterns 这是关于ajax设计模式方面的原代码
💻 JS
字号:
// Copyright 2005 Google Inc.// All Rights Reserved//// Tests for the XSLT processor. To run the test, open the file from// the file system. No server support is required.////// Author: Steffen Meschkat <mesch@google.com>logging = true;xsltdebug = true;function el(id) {  return document.getElementById(id);}function test_xslt() {  var xml = xmlParse(el('xml').value);  var xslt = xmlParse(el('xslt').value);  var html = xsltProcess(xml, xslt);  el('html').value = html;  el('htmldisplay').innerHTML = html;}function cleanxml() {  cleanvalue('xml');  cleanvalue('xslt');}function cleanvalue(id) {  var x = el(id);  x.value = x.value.replace(/^\s*/, '').replace(/\n\s*/g, '\n');}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -