The Properties, Methods, and Events of XML DSOs

In the example at the beginning of this chapter, we saw that you can use recordset methods such as moveFirst, moveLast, moveNext, and movePrevious to move around in a recordset. I'll make that more systematic now. In particular, the recordset object in an XML DSO has these properties:

  • absolutePage— The page where the current record is

  • absolutePosition— The position in a recordset of the current record

  • BOF— True if the current record position is before the first record

  • cacheSize— The number of records from a recordset object that are cached locally

  • cursorLocation— The location of the cursor for the recordset

  • cursorType— The type of database cursor used

  • editMode— Specification of whether editing is in progress ...

Get Real World XML now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.