summaryrefslogtreecommitdiff
path: root/ext/domxml/php_domxml.h
Commit message (Collapse)AuthorAgeFilesLines
* Empty HEAD of domxml, hyperwave, xsltSascha Schumann2003-06-241-253/+0
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* - Fixed some memleaks when using attributesChristian Stocker2003-04-091-1/+2
| | | | | | - Added attrnode->set_value() (by Rob Richards)
* - Fixes a bunch of memleaks, especially with attributes (by Rob Richards and me)Christian Stocker2003-04-081-2/+3
| | | | | | - Added domdocument->free() for freeing documents during script-time #will later merge to PHP_4_3
* @- Added domxml_doc_create_document_fragment() andChristian Stocker2003-04-051-2/+6
| | | | | | | @ domxml_document_fragment_open_mem(string) method (Christian) Useful for adding and parsing (well-balanced) document fragments. - Bumped up API version number
* - Added domxml_elem_set_attribute_node() method. (Rob Richards)Christian Stocker2003-04-031-2/+0
|
* - get_path forgotten in .h fileChristian Stocker2003-01-061-0/+1
| | | | | - fix crash in domxml_node_insert_before() (by Lukas Schröder)
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* @- Added xpath_register_ns_auto([contextnode]) for automatically registeringChristian Stocker2002-11-291-0/+1
| | | | | | | | @ namespace definitions (chregu) changed my mind. Automatic namesapce registration is not done within xpath_eval() anymore, but in a seperate function.
* renamed xslt_dump_* to xslt_result_dump_* to avoid confusionChristian Stocker2002-08-231-2/+2
| | | | | # will adjust NEWS file later
* @- Added XsltObject->dump_file($result,$filename[,$compression]) for dumpingChristian Stocker2002-08-221-0/+1
| | | | | @ xslt-result directly into a file. (chregu)
* @- Added XsltObject->dump_mem($result) for returning xslt-result directlyChristian Stocker2002-08-221-0/+1
| | | | | | | | @ into a string (morus.walter@web.de, chregu) - XsltObject->dump_file() will follow - bumped up needed libxslt version to 1.0.18
* include libxml/xinclude.h to make some compilers happyChristian Stocker2002-08-151-0/+1
|
* @ - Added DomNode->set_namespace(uri[,prefix]) (chregu)Christian Stocker2002-08-151-0/+1
| | | | | | - Added third optional parameter (prefix) to DomDocument->create_element_ns() - generate prefix from random number, if not provided.
* @ - Added some namespace support with DomNode->add_namespace(uri, prefix)Christian Stocker2002-08-141-0/+2
| | | | | @ and DomDocument->create_element_ns(uri, nodename) (chregu)
* bump up api version numberChristian Stocker2002-08-141-1/+1
|
* @ - Added $DomDocument->xinclude() for substitution of XIncludes inChristian Stocker2002-08-121-0/+1
| | | | | a DomDocument (chregu)
* @ - Added domxml_node_namespace_uri() (Rui Lopes).Christian Stocker2002-07-071-0/+1
|
* outcomment everything related to domxml_elem_set_attribute_node(). ThisChristian Stocker2002-07-011-0/+2
| | | | | | function is not implemented and shouldn't show up at all for the time being
* include libxml/parserInternals.hChristian Stocker2002-06-251-0/+1
|
* - 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().