@ namespace definitions (chregu)
changed my mind. Automatic namesapce registration is not done within
xpath_eval() anymore, but in a seperate function.
@ with SAX-Events (added domxml_parser_start_document(), domxml_parser_end_document(),
@ domxml_parser_start_element(tagname[,attributes]), domxml_parser_end_element(tagname),
@ domxml_parser_characters(characters), domxml_parser_cdata_block(cdata),
@ domxml_parser_comment(comment), domxml_parser_get_document(). (chregu)
# More Sax Events to be implemented. Sax Output (from file or DOM-Tree) is
# not that easy to implement, but possible...
@ domxml_open_mem(string xml[, int mode[, array errors]]) and domxml_open_file(string filename[, int mode[, array errors]]).
@ - Added domxml_doc_validate([array errors]) for validating existing DomDocuments with a DTD.
Old access functions are now deprecated.
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: php_domxml.c
CVS: ----------------------------------------------------------------------
instead of xmldoc. This also allows you to create nodes without having
a whole document "new DomElement("foo")".
moved DOMXML_API_VERSION to php_domxml.h
exposed php_domobject_new for other extensions to use
removed some un-needed code
- renamed domxml_add_root to domxml_doc_add_root (and added alias for BC)
- aliased $doc->get_root to domxml_document_element
@ - added domxml_doc_set_root to change the root node (Lukas Schroeder)
- append_child(): actually do an append child and not and add sibling
- what is called xmlDtd in libxml is actually the class DocumentType
in DOM. The domxml extension used a class DomDtd which is not defined
in the DOM standard. Instead of using DomDtd DomDocumentType is now
used. DomDtd has been renamed to Dtd but has not meaning anymore.
- added more functions
- added DOMXML_PARAM_THREE macro
- renamed domxml_dumpmem to domxml_dump_mem, added alias for
domxml_dumpmem
- domxml_has_attributes was missing in in zend_function_entry
@- added function domxml_dump_file($filename,[$compression]). Dumps XML to
@ a file and uses compression, if specified (chregu)
@- added exslt integration (see http://exslt.org for details). To be
@ configured with --with-dom-exslt[=DIR] (and --with-dom-xslt) (chregu, jaroslaw)
@ - Added xpath_register_ns() function.
@ It makes possible to issue XPath queries with namespaces
@ like for example: "//namespace:sampletag" (Chris Jarecki)
Changed names of functions:
- htmldoc() to html_doc(),
- htmldocfile() to html_doc_file(),
- domxml_htmldumpmem() to domxml_html_dump_mem(),
- htmldumpmem() to html_dump_mem().
- Added error handling for the libxml library.
- Added preliminary DOM XSLT support:
-- uses the libxslt library,
-- operates on DOM objects, not strings,
-- functions: domxml_xslt_process(), domxml_xslt_version().