Plasma GitLab Archive
Projects Blog Knowledge

Class Pxp_document.element_impl


class ['a node #extension as 'a] element_impl : 'a -> ['a] node
This class is an implementation of node which realizes element nodes. You can create a new exemplar by

let exemplar = new element_impl ext_obj

which creates an empty element which already contains a reference to the extension ext_obj, but is otherwise empty. Use the method Pxp_document.node.create_element on the exemplar to get a filled copy of the examplar (i.e. we need two steps to create nodes).

Note that the class element_impl is not namespace-aware.


This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml