Element newRecipient = fileInfo.createElement( RECIPIENT_ELEMENT_NAME );
Element newRecipientType = fileInfo.createElement( RECIPIENT_TYPE_ELEMENT_NAME );
Text textNode = fileInfo.createTextNode( recipientName );
newRecipient.appendChild( textNode );
textNode = fileInfo.createTextNode( Integer.toString( recipientType ) );
newRecipientType.appendChild( textNode );
newAces.appendChild( newPermission );
newAces.appendChild( newRecipient );
newAces.appendChild( newRecipientType );
fileInfo.getDocumentElement().appendChild( newAces );