| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
- Added attrnode->set_value()
(by Rob Richards)
|
|
|
|
|
|
| |
- Added domdocument->free() for freeing documents during script-time
#will later merge to PHP_4_3
|
|
|
|
|
|
|
| |
@ domxml_document_fragment_open_mem(string) method (Christian)
Useful for adding and parsing (well-balanced) document fragments.
- Bumped up API version number
|
| |
|
|
|
|
|
| |
- fix crash in domxml_node_insert_before() (by Lukas Schröder)
|
| |
|
|
|
|
|
|
|
|
| |
@ namespace definitions (chregu)
changed my mind. Automatic namesapce registration is not done within
xpath_eval() anymore, but in a seperate function.
|
|
|
|
|
| |
# will adjust NEWS file later
|
|
|
|
|
| |
@ xslt-result directly into a file. (chregu)
|
|
|
|
|
|
|
|
| |
@ into a string (morus.walter@web.de, chregu)
- XsltObject->dump_file() will follow
- bumped up needed libxslt version to 1.0.18
|
| |
|
|
|
|
|
|
| |
- Added third optional parameter (prefix) to DomDocument->create_element_ns()
- generate prefix from random number, if not provided.
|
|
|
|
|
| |
@ and DomDocument->create_element_ns(uri, nodename) (chregu)
|
| |
|
|
|
|
|
| |
a DomDocument (chregu)
|
| |
|
|
|
|
|
|
| |
function is not implemented and shouldn't show up at all for the time
being
|
| |
|
|
|
|
|
|
|
|
| |
- renamed domxml_cdata_block to domxml_parser_cdata_section
(more consistent with the domxml_create_XXX methods)
- added domxml_parser_processing_instruction(target,data)
- added domxml_parser_namespace_decl(href,prefix)
|
|
|
|
|
| |
- added domxml_parser_reference(reference)
|
|
|
|
|
|
|
|
|
|
|
|
| |
DomDocument
@ 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...
|
|
|
|
|
|
|
|
| |
nicely
formatted XML-Documents (but this can have sideeffects, if you depend on whitespaces..)
- bumped up domxml-api-version number.
|
|
|
|
|
|
|
|
| |
parameter) to
@ 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_node_append_child for BC
|
| |
|
| |
|
| |
|
|
|
|
|
| |
@ new append_child() now behaves like excepted (= W3C standard) (chregu, uwe)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
It provides access to the PushParser interface of libxml2.
|
|
|
|
|
|
| |
@ new function domxml_doc_get_elements_by_tagname
@ new function domxml_doc_get_element_by_id (chregu)
|
| |
|
| |
|
|
|
|
|
|
| |
@- added function domxml_dump_node($doc,$node). Dumps a node plus all
@ children into a string. (chregu)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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)
|
|
|
|
|
|
|
|
| |
- domxml_xslt_stylesheet(string),
- domxml_xslt_stylesheet_doc(DomDocument),
- domxml_xslt_stylesheet_file(filename),
- process(DomDocument,parameters array) - previously domxml_xslt_process().
|
|
|
|
|
|
|
| |
@ - Added xpath_register_ns() function.
@ It makes possible to issue XPath queries with namespaces
@ like for example: "//namespace:sampletag" (Chris Jarecki)
|
| |
|
| |
|
|
|
|
|
| |
# I had libxml 2.4.2 installed.
|
|
|
|
|
|
|
|
|
| |
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().
|