Insert IData object

Hi

I wonder of it is possible to insert an IData object in a specific place provided by e.g. a IDataCursor´s position?

The only function I have found is an append function, which adds an IData object at the bottom of an IData node.

Regards
Mikael

I believe the insertAfter() method will do what you want. It is covered in the Javadocs for IDataCursor.

Mark

Hi again

The insert after only inserts a new key/value pair, not an IData object.

insertAfter(java.lang.String key, java.lang.Object value)

Never mind - My brain is completly disfunctional today. :o :o
It works fine using the insertAfter method!

Thanks!