用 PHP 解析 XML

October 26th, 2009 by Bruce Dou Views:137

用 PHP 读取和编写 XML的简单例子

http://www.ibm.com/developerworks/cn/opensource/os-xmldomphp/

PHP所使用的解析XML的库 C版本

http://sourceforge.net/projects/expat/

The Expat XML Parser

http://www.libexpat.org/

Expat is an XML parser library written in C. It is a stream-oriented parser in which an application registers handlers for things the parser might find in the XML document (like start tags).

PHPbuilder 关于PHP解析XML详细的解释和例子

http://www.phpbuilder.com/columns/justin20000428.php3

讲XML转换为数组格式的函数 xml_parse_into_struct

http://phpbuilder.com/manual/en/function.xml-parse-into-struct.php

 

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • 豆瓣
  • DZone
  • LinkedIn
  • MySpace
  • Reddit
  • RSS

Also see:

Tags: ,

Leave a Reply