Home » XML » XML_FastCreate
Fast creation of valid XML with DTD control.
This package is unmaintained.
Download latest release 1.0.4 (archived versions might be outdated)
License: PHP License
Description
- Easy way to make valid XML :
$x->div(
$x->h1("Example"),
$x->p("Hello"),
$x->p(array('class'=>'example'), "World !")
)
- Option to report DTD errors in your XML :
Use internal tool or external program [ Require XML_DTD package ]
- Use output driver of your choice :
Text : return string
XML_Tree : return XML_Tree object [ Require XML_Tree package ]
- Translate option to quickly transform tags by anothers :
ex: Convert your XML to XHTML :
<news><title> Example </title></news>
=> <div class="news"><h1><span> Example </span></h1></div>
- Include a PHP program to quickly transform HTML to FastCreate syntax.
[ Require XML_HTMLSax package ]
- See examples for more informations :
http://lya.fr/pear/XML_FastCreate/tests/
- French Tutorial :
http://wiki.lya.fr/doku.php?id=pear_xml_fastcreate
Maintainers
- Guillaume Lecanu (neokod) — lead, active
Dependencies
Required
- PHP (>= 4.3.2)
- PEAR Installer (>= 1.4.0b1)
Optional
- XML_Tree (>= 2.0b2)
- XML_DTD (>= 0.4.1)
- XML_Beautifier (>= 1.1)
- XML_HTMLSax (>= 2.1.2)
Releases
- 1.0.4 (stable, 2011-12-11)
- 1.0.3 (stable, 2005-12-15)
- 1.0.2 (stable, 2005-12-10)
- 1.0.1 (stable, 2005-12-08)
- 1.0.0 (stable, 2005-03-31)
- 0.9 (beta, 2004-05-07)
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #1367 | Closed | Bug | 2004-05-07 | XML tags are converted to lowercase | |
| #3535 | Closed | Bug | 2005-02-20 | __call() Overloading not PHP5 compatble | |
| #5203 | Closed | Bug | 2005-08-24 | Wrong variables name for $GLOBALS | |
| #6485 | Closed | Bug | 2006-01-13 | dynamically append child | |
| #7030 | Closed | Req | 1.0.3 | 2006-03-06 | Tag function should expand XML_FastCreate objects |
| #7897 | Verified | Bug | 1.0.3 | 2006-06-14 | can't create cdata |