PEAR  
Search package by name
 

Package Management
Package Management

 

Package Search
Package Search

 

Channel Management
Channel Management

 

Configuration
Configuration

 
Warning: This package management website is not protected with a password, this is a MAJOR security risk. Please read the README.
Package XML_FastCreate
Installed - no -
Latest 1.0.4
License PHP License
Summary Fast creation of valid XML with DTD control.
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
Dependencies
PHP Version: 4.3.2 or newer
PEAR Package: pear.php.net/PEAR 1.4.0b1 or newer
PEAR Package: pear.php.net/XML_Tree 2.0b2 or newer1
PEAR Package: pear.php.net/XML_DTD 0.4.1 or newer1
PEAR Package: pear.php.net/XML_Beautifier 1.1 or newer1
PEAR Package: pear.php.net/XML_HTMLSax 2.1.2 or newer1
Options
install Install package
More extra info Extended Package Information
manual pear.php.net Developer Documentation
manual pear.php.net Package Manual