和迭代器不同,不需要先移动指针(使用 next())来进入合法的状态。
Unlike an iterator, the cursor need not be advanced first (using next()) in order to get into a valid state.
使用这种方法,应用程序沿着XML标记流移动指针,在每一步中检查解析器的状态来了解解析内容的更多信息。
Using this approach, the application advances a cursor over a stream of XML tokens, examining the parser state at every step to get more information about what was parsed.
注意:如果记录集对象不支持书签或不能向后移动指针,那么将产生错误。
Note: An error will occur if the Recordset object does not support bookmarks or backward cursor movement.
应用推荐