*/
public Element toDsml( Element root )
{
Element element = super.toDsml( root );
AddRequest request = ( AddRequest ) instance;
// DN
if ( request.getEntry() != null )
{
element.addAttribute( "dn", request.getEntry().toString() );
}
// Attributes
Attributes attributes = request.getAttributes();
if ( attributes != null )
{
NamingEnumeration ne = attributes.getAll();
while ( ne.hasMoreElements() )
{