docs: public String toXML()
      {
          RepositoryTags tags = RepositoryTags.getInstance();
          String eol = System.getProperty( "line.separator" );
  
          // The result
          StringBuffer result = new StringBuffer( 1024 );
          result.append( eol );
          result.append( "   " );
  
          // Opening tag and attributes
          result.append( " " );
          result.append( tags.getOpeningTagNonClosingById( DELETE_PROCEDURE ) );
          result.append( " " );
          result.append( tags.getAttribute( NAME, this.getName() ) );
          if( this.hasReturnValue() )
          {
              result.append( " " );
              result.append( tags.getAttribute( RETURN_FIELD_REF, this.getReturnValueFieldRefName() ) );
          }
          result.append( " " );
          result.append( tags.getAttribute( INCLUDE_PK_FIELDS_ONLY, String.valueOf( this.getIncludePkFieldsOnly() ) ) );
          result.append( ">" );
          result.append( eol );
  
          // Write all arguments only if we're not including all fields.
          if( !this.getIncludePkFieldsOnly() )
          {
              Iterator args = this.getArguments().iterator();
              while( args.hasNext() )
              {
                  result.append( ( ( ArgumentDescriptor ) args.next() ).toXML() );
              }
          }
  
          // Closing tag
          result.append( "    " );
          result.append( tags.getClosingTagById( DELETE_PROCEDURE ) );
          result.append( eol );
          return result.toString();
      }