dom_varimport

This package is not maintained, if you would like to take over please go to this page.
No replacement provided. Contact us if you know a replacement.

Convert nested arrays into DOMDocument

The extension converts nested PHP arrays and objects into DOMDocument.
Some of projects use XSLT as a templating engine. To build XML for such engines,
we need a very fast and memory efficient way to convert PHP nested arrays and
objects into DOMDocument object. Also, produced XML should be straight-forward
and as simple as it could be (BTW XMLRPC, SOAP and other XML-based formats are quite
sloppy in this case). So dom_varimport has been introduced: it produces DOMDocument
from a nested array near 20 times faster than a hand-made code in native PHP
(1 MB XML with thousands of nodes could be generated in 1-2 ms).

Maintainer

  • Dmitry Koterov (lead )

Details

Stars: 10
Downloads: 17044
1.11.0
9 years ago
Version 1.11.0 change log


** New Feature
* Special key @attributes to set predefined attributes, ability to populate DOMElement [Dimasik]
* Support for different types in @attributes array [Dimasik]
* Tests for special attribute and DOMElement [Dimasik]
* Enable Win32 build (ZTS support)

requires:

  • php >=5.3.0
  • pearinstaller >=1.4.3
  • dom
  • libxml