Skip Headers

Oracle® XML API Reference 10g Release 1 (10.1) Part No. B10789-01 |
| Contents

## DocumentRange Interface

Table 5-1 summarizes the methods of available through the `DocumentRange` interface.

Table 5-1 Summary of DocumentRange Methods; Package Range

Function | Summary
--- | ---
XmlDomCreateRange | Create `Range` object.

### XmlDomCreateRange

The only one method of `DocumentRange` interface, used to create a `Range` object.

Syntax

    xmlrange* XmlDomCreateRange(
       xmlctx *xctx,
       xmlrange *range,
       xmldocnode *doc);

Parameter | In/Out | Description
--- | --- | ---
    xctx
    IN
| XML context
    range
    IN
| existing NodeIterator, or `NULL` to allocate new
    doc
    IN
| document to which the new `Range` is attached

Returns

`(xmlrange *)` original or new `Range` object.