@ 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)
- domxml_open_mem() drops old optional parameter to switch between reading
from a string or a file.
- new optional parameter for domxml_open_mem() which set the mode how the
document shall be parsed
xmlDoc->ids as provided by libxml.
- New function DomDocument->ids() returns a list of ids (subject to change)
- replace_node() doesn't make a copy of the new node if it has no parents
- 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