基于PHP与XML的PDF文档生成技术

2016-01-29 14:40 6 1 收藏

基于PHP与XML的PDF文档生成技术,基于PHP与XML的PDF文档生成技术

【 tulaoshi.com - PHP 】

 

摘要

本论文简要介绍了PHP、XML、PDF等技术的原理以及它们的应用情况。力图运用PHP面向对象的特性,构建出一套基于PHP和XML的在线PDF文档生成系统。文中详细探讨了整个系统的组成部分以及各自的实现过程。并在最后给出一个运用这套系统实现的动态创建报表的实例。

Abstract

This article introduced the fundamentls of PHP,XML and PDF and their application situation at present,expecting to build a PHP&XML-based dynamic PDF documents creating system through the PHP’s OO features. Furthermore,we discussed in detail on the components of the whole system and their respective realizing methods. Finally,we represented an example of creating reports dynamically using this system.

 

关键词

PHP      XML       XSLT       DTD      PDF   

(本文来源于图老师网站,更多请访问https://www.tulaoshi.com/php/)

 

(本文来源于图老师网站,更多请访问https://www.tulaoshi.com/php/)

 

(本文来源于图老师网站,更多请访问https://www.tulaoshi.com/php/)

1.       引言

        在信息技术飞速发展的时代,无论政府、企业还是个人,他们对

来源:https://www.tulaoshi.com/n/20160129/1493906.html

延伸阅读
解析XML文件: 在Android平台上可以使用SAX、DOM和Android附带的pull解析器解析XML文件; pull解析器提供了各种事件,使用parser.next()方法进入下一个元素并触发相应事件,pull解析器产生的事件是一个数字,可以通过switch对感兴趣的事件进行处理;通过paser.nextText()方法可以获取下一个Text类型的节点的值; http://xmlpull.org/xmlpull-w...
标签: PHP
文件:SimpleDocumentParser.php <?php/** *========================================================= * * @author hahawen(大龄青年) * @since 2004-12-04 * @copyright Copyright (c) 2004, NxCoder Group * *========================================================= *//** * class SimpleDocu...
标签: PHP
文件:SimpleDocumentRoot.php <?php/** *========================================================= * * @author hahawen(大龄青年) * @since 2004-12-04 * @copyright Copyright (c) 2004, NxCoder Group * *========================================================= *//** * class ...
标签: PHP
下面是例子运行对结果: 下面是通过函数getSaveData()返回的整个xml数据的数组 Array( [name] => 华联 [address] => 北京长安街-9999号 [desc] => 连锁超市 [cat_food] => Array ( [attrs] => Array ( [id] => food ) ...
标签: PHP
下面是通过getNode()函数,返回某一个分类下的所有商品的信息商品名: food11 Array( [name] => food11 [price] => 12.90)Array( [id] => food11)商品名:food12 Array( [name] => food12 [price] => 22.10 [desc] => Array ( [value] => 好东西推荐 [attrs] =...

经验教程

658

收藏

31
微博分享 QQ分享 QQ空间 手机页面 收藏网站 回到头部