PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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

Dependencies

Required

Optional

Releases

Bugs

IDStatusTypeVersionDateSummary
#1367ClosedBug2004-05-07XML tags are converted to lowercase
#3535ClosedBug2005-02-20__call() Overloading not PHP5 compatble
#5203ClosedBug2005-08-24Wrong variables name for $GLOBALS
#6485ClosedBug2006-01-13dynamically append child
#7030ClosedReq1.0.32006-03-06Tag function should expand XML_FastCreate objects
#7897VerifiedBug1.0.32006-06-14can't create cdata