Node refNodeRevised = refNode;
if( refNodeRevised == null )
{
final XmlContentModel xmlContentModel = getContentModel();
if( xmlContentModel != null )
{
final int position = xmlContentModel.findInsertionPosition( siblings, name );
if( position < siblingsCount )
{
refNodeRevised = siblings.item( position );
}