summaryrefslogtreecommitdiff
path: root/ext/domxml/php_domxml.h
Commit message (Collapse)AuthorAgeFilesLines
* - renamed domxml_parser_reference to domxml_parser_entitiy_referenceChristian Stocker2002-06-141-2/+4
| | | | | | | | - 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)
* - oops, that didn't even compileChristian Stocker2002-06-141-0/+1
| | | | | - added domxml_parser_reference(reference)
* @ - Added preliminary SAX-Input support. It's now possible to build a ↵Christian Stocker2002-06-141-0/+8
| | | | | | | | | | | | 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...
* - Added DOMXML_LOAD_DONT_KEEP_BLANKS as possible mode, if one wants really ↵Christian Stocker2002-06-131-1/+1
| | | | | | | | nicely formatted XML-Documents (but this can have sideeffects, if you depend on whitespaces..) - bumped up domxml-api-version number.
* @ - Added better error-messages (3rd parameter) and validating of DTDs (2nd ↵Christian Stocker2002-06-131-2/+7
| | | | | | | | 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.
* Added aliases to make attr_node access functions more consistent.Joseph Tate2002-06-071-1/+1
| | | | | | | | | | | | | 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: ----------------------------------------------------------------------
* Changed PHP_EXPORTS to DOMXML_EXPORTS as Edin Kadribasic suggestedBrad LaFountain2002-05-311-0/+11
|
* added the ability to use new keywork with domxmls objects "new DomDocument()"Brad LaFountain2002-05-311-1/+8
| | | | | | | | | | 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
* - replaced domxml_doc_document_element implementation do use libxml2 methodChristian Stocker2002-05-161-2/+3
| | | | | | | - 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)
* removed the function for domxml_node_add_child and made an alias toChristian Stocker2002-05-031-1/+0
| | | | | domxml_node_append_child for BC
* - added function domxml_parser_set_keep_blanks()Uwe Steinmann2002-04-301-0/+1
|
* - added new function DomDocument->ids (subject to change)Uwe Steinmann2002-04-231-0/+1
|
* - added DomNode->replace_child()Uwe Steinmann2002-04-151-0/+1
|
* @- old $node->append_child() is now $node->append_sibling(), sinceChristian Stocker2002-04-131-0/+1
| | | | | @ new append_child() now behaves like excepted (= W3C standard) (chregu, uwe)
* - added method DomNode->remove_child()Uwe Steinmann2002-04-121-0/+1
|
* - fixed stupid compile errorUwe Steinmann2002-04-121-1/+1
|
* - insert_before(): copy node before doing the insertUwe Steinmann2002-04-121-0/+1
| | | | | | | | | | - 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_parser(), domxml_parser_add_chunk() and domxml_parser_end().Christian Stocker2002-04-051-0/+5
| | | | | It provides access to the PushParser interface of libxml2.
* @ implemented domxml_elem_get_elements_by_tagnameChristian Stocker2002-03-111-2/+3
| | | | | | @ new function domxml_doc_get_elements_by_tagname @ new function domxml_doc_get_element_by_id (chregu)
* Maintain headers.Sebastian Bergmann2002-02-281-1/+1
|
* Added domxml_substitute_entities_default() functionJaroslaw Kolakowski2002-01-211-0/+1
|
* - added macro DOMXML_PARAM_ONEChristian Stocker2002-01-181-0/+1
| | | | | | @- added function domxml_dump_node($doc,$node). Dumps a node plus all @ children into a string. (chregu)
* @- Added function domxml_node_get_content() (chregu)Christian Stocker2002-01-181-0/+1
|
* # sorry for the mixing of different things in this commitChristian Stocker2002-01-181-1/+7
| | | | | | | | | | | | - 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 XsltStylesheet class with methods:Jaroslaw Kolakowski2002-01-171-1/+4
| | | | | | | | - 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.Chris Jarecki2002-01-131-0/+2
| | | | | | | @ - Added xpath_register_ns() function. @ It makes possible to issue XPath queries with namespaces @ like for example: "//namespace:sampletag" (Chris Jarecki)
* Added domxml_node_replace_node() function.Jaroslaw Kolakowski2002-01-111-0/+1
|
* - Fix compilation. (Christian Stocker)Markus Fischer2002-01-101-0/+1
|
* - Fixed compile with older libxml.foobar2002-01-091-0/+1
| | | | | # I had libxml 2.4.2 installed.
* AJaroslaw Kolakowski2002-01-081-3/+3
| | | | | | | | | 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 functions: htmldoc(), htmldocfile(), domxml_htmldumpmem().Jaroslaw Kolakowski2002-01-081-0/+23
| | | | | | | | | - 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().
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* - Reverted macro moving stupidity (thx to Sterling).Markus Fischer2001-12-021-39/+0
|
* Last commit:Markus Fischer2001-12-011-1/+40
| | | | | | | | | | | | | | | | | | | | | - Fix segfault in xmldoc(). - Proper free zval in php_xpathptr_eval(). This one: - Fix segfault in php_xpathptr_eval(). - Fix win32 build (TSRMLS_FETCH issues). - More sanity checking in php_xpath_get_object(), php_xpath_get_context() and php_dom_get_object(). - Moved macros into header file. - Register le_domxmldtd, le_domxmlcdatap (removes anoying warning message on shutdown). - Fig segfault in node_children() with unsupported node types. - Fix leak in php_domobject_new() with unsupported note types. - Fix leak when freeing xpath context/objects. - Reverted behaviour change to append_child() [old crashes]. - set_content() also sets the node->content property. # Testers/patches/contribs welcome.
* - add functions clone_node(), is_blank_node(), create_entity_reference()Uwe Steinmann2001-11-211-0/+5
| | | | | | - fixed bug in node_name() - fixed behavior of append_child(), it now adds a child a not a sibling
* Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on ↵Zeev Suraski2001-07-301-3/+3
| | | | the way
* - added domxml_version() to retrieve version of libxmlUwe Steinmann2001-04-091-0/+1
|
* - added EntityReference and Notation classUwe Steinmann2001-03-211-0/+5
| | | | | | - fixed handling of PI nodes - implemented more class functions
* - complete rewrite of domxml module.Uwe Steinmann2001-03-201-11/+67
| | | | | | It is now mostly conform to DOM Level 2 though some classes and methods are still missing
* - Fix copyright notices with 2001Andi Gutmans2001-02-261-1/+1
|
* - add domxml_unlink_node(), not testedUwe Steinmann2001-02-081-0/+1
|
* - changed naming of some functions (kept compatibility)Uwe Steinmann2001-01-261-3/+3
|
* Removed unused variable definitions. And libxml can be build NOTfoobar2000-12-091-0/+4
| | | | | to have support for either XPath or XPtr.
* - new function set_content() which is a workaround for bug #6457Uwe Steinmann2000-11-101-0/+1
|
* - Fixed several error including segm fault (but still one left :-(Uwe Steinmann2000-11-101-0/+1
|
* - Started support for XPath/XPtr (completely untested)Uwe Steinmann2000-11-091-0/+13
|
* - got rid of php_ prefix in Modulename and some structsUwe Steinmann2000-08-071-4/+4
|
* Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files.David Croft2000-07-241-23/+10
| | | | | | | | | Added a few RCS $Id$ tags. # Note: I have avoided changing any .h files if the corresponding .c file # had not already been changed as I am not sure if there are any legal # issues here. So some extensions still have PHP 3 headers.
* Change header protection macros to conform to standard.Sascha Schumann2000-07-021-2/+2
| | | | | | | | | Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment" All identifiers that begin with an underscore and either an uppercase letter or another underscore are always reserved for any use by the implementation.
* - should now compile and configure with libxml 2.0.0Uwe Steinmann2000-06-051-1/+1
|