User Tools

Site Tools


DzDomDocumentFragment

Represents a Document Object Model (DOM) “Document Fragment”.

More...

Inherits :

Detailed Description

A script wrapper for QDomDocumentFragment. This object represents a tree of DzDomNode objects which are not usually a complete DzDomDocument.

Instances of this object are not constructed directly, rather they are returned by calling DzDomDocument::createDocumentFragment().

The most important feature of this object is the way it is treated by DzDomNode::insertAfter(), DzDomNode::insertBefore(), DzDomNode::replaceChild() and DzDomNode::appendChild(); instead of inserting the fragment itself, all of the fragment's children are inserted.