Basically PHP5 or above can run smoothly by me.
Prerequisites: PHP5.2 or above
Install: Replace the go-pear.phar content in php/pear directory with http://go-pear.org/
Double click the go-pear.bat to install PEAR module.
Install XML_Query2XML and MDB2_Driver_mysql packages by dos command: pear install packageName
Moreover,need use the XSL transform function, make sure that uncomment the php_xsl.dll in php.ini
So take a look at the php code.
PHP 代码
- <!---->
-
- include 'XML/Query2XML.php';
- include 'MDB2.php';
-
- try {
-
- $q2x = XML_Query2XML::factory(MDB2::factory('mysql:
-
-
-
- $sql = "SELECT * FROM Drive";
- $xml = $q2x->getFlatXML($sql);
-
-
- $xsl = new DOMDocument;
- $xsl->load('Drive.xsl');
-
-
- $xslp = new XSLTProcessor;
-
-
- $xslp->importStyleSheet($xsl);
-
-
- header('Content-Type: text/html');
- echo $xslp->transformToXML($xml);
- } catch (Exception $e) {
- echo $e->getMessage();
- }
- ?>
分享到:
相关推荐
为此,像Enhance YouTube:trade_mark:Livestream一样,Enhanced:trade_mark:Facebook Livestream将:*停止所有不必要的请求,并影响实时流的质量。 使用方法:-因为在启动Enhance:trade_mark:Facebook Livestream时...
软件名称:Topaz Video Enhance AI 软件类别:AI视频增强 软件版本:v1.8.1 软件性质:免费软件 软件大小:1.81 GB 下载方式:百度网盘下载 支持平台:Windows 64-bit 支持语言:英文 运行测试:已在Windows 10测试...
SQL Native Client should be used to create new applications or enhance the need to use SQL Server 2005 new features of existing applications. SQL Native Client This redistributable installer for the ...
什么是Enhance-CSS? Enhance-css是一个工具,可以将您CSS文件调整为: 改善缓存-通过重写URL并重命名文件以包括时间戳或MD5哈希值; 并行处理请求-通过使用一个或多个资产托管者重写URL; 减少请求数量-通过将...
contactMap-res-enhance.code 介绍 Hi-C联系人地图增强代码。
Microsoft ODBC Driver 17 for SQL Server should be used to create new applications or enhance existing applications that need to take advantage of newer SQL Server features. This redistributable ...
React本机增强webview入门$ npm install react-native-enhance-webview --save 大多是自动安装$ react-native link react-native-enhance-webview 手动安装的iOS 在XCode的项目导航器中,右键单击“ Libraries ➜ ...
增强-PagerSlidingTabStrip ============================ 选择当前选项卡时,为 PagerSlidingTabStrip 视图添加选项卡文本颜色更改。... 详情可以查看的enhance-PagerSlidingTabStrip 库示例。 贡献者 -
This is the first book that provides a solid theoretical account of the foundation of the popular data format XML. Part I establishes basic concepts, starting with schemas, tree automata and pattern ...
Expert T-SQL Window Functions in SQL Server takes you from any level of knowledge of windowing functions and turns you into an expert who can use these powerful functions to solve many T-SQL queries....
Digital Enhance照片处理
GaN nanorod array as a precursor to enhance GaN:Mn ferromagnetism
getElementById ( "roam-enhance" ) ;old && old . remove ( ) ;const s = document . createElement ( "script" ) ;s . src = "https://roam-enhance.vercel.app/main.js" ;// or// s.src = ...
Apache ShardingSphere 是一个分布式SQL事务与查询引擎,能够支持数据分片、扩展、加密等功能,并且适用于任何数据库。我们社区的主导开发理念是“Database Plus”,旨在构建一个完整的生态系统,使任何数据库都能够...
如何提升员工创新力:变革领导的三级中介路径研究,白云涛,林俐,团队成员的互动很大程度上影响着员工的创造力。但是变革型领导如何影响团队的互动进而提升员工创新力这一研究问题却始终未被很好
Chapter 2: Applications and Pages Chapter 3: Regions Chapter 4: Navigation Chapter 5: Items and Buttons Chapter 6: Session State Chapter 7: Processes Chapter 8: Data Validation Chapter 9: Branches ...
Chapter 1, PL/SQL Packages describes how and when you should create packages and explains why PL/SQL developers should learn to center their entire development process around packages Chapter 2, Best...
视频超分处理工具,包含waifu2x、realesr、realcugan超分算法
Enhance & Change: • Update DRAM size detection algorithm on MT6755/MT6739/MT6763. • Change verify voltage to 0.8v to avoid system hang issue on Cervino(MT6765/MT6762). New feature: • Support ...