x = XmlObject.Factory.parse( "<r><a>xyz</a><b>pqr</b>AB</r>" );
cFrom = navDoc( x, "dd" );
cTo = navNewCursor( cFrom, "r-1t-1c" );
Assert.assertTrue( cFrom.moveXml( cTo ) );
cFrom.insertChars( "[FROM]" );
cTo.insertChars( "[TO]" );
Assert.assertTrue(
x.xmlText().equals( "<r>[FROM]<b>pqr</b>A<a>xyz</a>[TO]B</r>" ) );