Chapter 3 DynaScript Predefined Objects


DOMDocumentFragment object

Object

Represents a collection of node objects, and is typically used to represent a portion of an XML document.

Syntax

To use a DOMDocumentFragment's property:

DOMDocumentFragment.propertyName

To use a DOMDocumentFragment's method:

DOMDocumentFragment.MethodName( parameter ) 

Description

The DOMDocumentFragment holds fragments of a DOMDocument object and can be useful when you are rearranging documents.

When a DOMDocumentFragment object is inserted into the DOM document tree, the children of the DOMDocumentFragment and not the DOMDocumentFragment itself are inserted.

The DOMDocumentFragment object has no methods or properties of its own but it does inherit all of the properties and methods of the DOMNode object.

See also

"DOMNode object"

 


Copyright © 1999 Sybase, Inc. All rights reserved.