Changes between Version 4 and Version 5 of XML/DOM


Ignore:
Timestamp:
Feb 25, 2014, 2:15:26 PM (6 years ago)
Author:
vadim.godunko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XML/DOM

    v4 v5  
    1919
    2020Matreshka uses XML.DOM.DOM_Error exception to report exceptions. Additional information can be retrieved from corresponding DOM::Document object with Error_Code and Error_String functions.
     21
     22== Visitor pattern support ==
     23
     24Matreshka extends DOM API by providing support for "visitor" pattern. It includes two interface types, first (XML.DOM.Visitors.Abstract_Visitor) to be used to process nodes of DOM tree and second (XML.DOM.Visitors.Abstract_Iterator) to be used to construct iterators other DOM tree. Default implementation of iterator process all nodes (except DOM::Attr and their children nodes) of DOM tree starting from DOM::Document.