Télécharger la liste

Description du projet

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.

Système requise

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

Un bogue dans la méthode toString qui l'a fait pour retourner une chaîne vide s'il n'y avait des commentaires XML à l'intérieur du nœud a été fixée.
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

Une fonction de recherche a été ajouté que les recherches pour un nodename et retourne les nœuds et la déclaration de PHP qui doit être utilisé pour accéder à ce nœud. Le crxml:: méthode de fabrique statique a été ajouté à créer des objets crxml à la volée à partir d'une chaîne XML brut. Cela peut être utilisé pour une utilisation avec le append, appendTo, et replaceWith fonctions. Une fonction pour faire des erreurs a été ajouté. Les erreurs ne sont pas affichées par défaut. Ce comportement peut être modifié à l'avenir. Signaler une erreur a été ajouté pour l'accès à cordes sur des nœuds enfant qui n'existe pas. la version XML et l'encodage ont été ajoutés à la constructeur de l'objet. La documentation a été mise à jour.
Tags: Major, xml node search, php code generation
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.

2011-02-22 23:38
1.1

Une fonction pour faire des erreurs a été ajouté. Signaler une erreur a été ajouté pour l'accès à cordes sur des nœuds enfant qui n'existe pas. Version et une option d'encodage ont été ajoutés à la constructeur de l'objet. Signaler une erreur a été faite passive, le retour des erreurs que par le getError () la fonction.
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

Cette version corrige un problème avec l'ancienne version libxml lors de l'exécution des requêtes DOMXPath. Il ajoute une démonstration en direct de sorte que les gens peuvent consulter la classe sans rien télécharger.
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