Download List

專案描述

crXml is an all-in-one, easy-to-use XML parser, generator, and editor created using PHP's DOM XML functions. The functionality of this class is similar to simpleXML. It differs from simpleXML in the way in which namespaced nodes are addressed. In simpleXML, namespaced nodes cannot be addressed directly. In this class, a namespaced node can be addressed directly as $crxmlObject->{'prefix:nodeName'}. It can also generate PHP code to access any of the nodes. It can also generate or manipulate any type of XML document. Please check the live demo so that you can try the class without downloading anything.

System Requirements

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2011-08-27 16:28
1.20

A bug in the toString method which caused it to return an empty string if there were XML comments inside the node was fixed.

2011-02-27 17:55
1.20

A search function was added that searches for a nodename and returns the nodes together with the PHP statement that should be used to access that node. The crxml::factory static method was added to create crxml objects on the fly from a raw XML string. This can be used to use with the append, appendTo, and replaceWith functions. A function for getting errors was added. Errors are not displayed by default. This behavior may be changed in the future. Error reporting was added for string access on nonexistent child nodes. XML version and encoding were added to the object constructor. The documentation was updated.
標籤: Major, xml node search, php code generation

2011-02-22 23:38
1.1

A function for getting errors was added. Error reporting was added for string access on nonexistent child nodes. Version and an encoding option were added to the object constructor. Error reporting was made passive, returning errors only through the getError() function.

2011-02-15 06:51
1.01

This release fixes an issue with old libxml versions when executing domxpath queries. It adds a live demo so that people can check out the class without downloading anything.

Project Resources