From: Mauro C. <inc...@ya...> - 2006-02-26 18:44:17
|
Hi Tony, hi to all, I'm continuing dev xmlroff php extension and study libfo. my problem is that actualy the only way to work with libfo is to write tmp file. I'agree the libfo abstract from xml implementation. I've found two solution: 1) include libxml in xmlroff php ext and then set FoXmlDoc->xml_doc directly. (I've seen fo-xml-doc-private.h). 2) change libfo interface and allow for examples fo_xml_doc_parse_file and fo_xml_doc_parse_memory, and generally the possibility to work with mem and/or file. I have the same problem with the output result: where can I get a pointer to result doc (FoDocGP->job)? is the output file written when fo_doc_gp_finalize is invoked? actually ext has OO interface, but no error bubbling. tested only with PHP 4.4.2. configuration file incomplete. where can I release it? not possible to release it at pecl.php.net due to licence incompatibility. ciao Mauro Casciari ___________________________________ Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive http://it.messenger.yahoo.com |