Fedora digital objects can be encoded in different XML formats for ingest and export. Since Fedora 2.0, objects can be ingested and exported in either the Fedora Object XML (FOXML) format or the Metadata Encoding and Transmission Standard (METS). Note that Fedora provides an extension of the METS 1.2 schema that adds a few attributes to support Fedora. In upcoming Fedora releases, other XML formats will be accepted for ingest including MPEG21/DIDL and METS 1.3. In each case there will be a profile for what a valid Fedora object looks like in those formats.
For encoding ingest files in FOXML, please refer to the FOXML XML schema and the Introduction to FOXML guide in the Fedora System Documentation. Also look at the sample FOXML ingest file for a model of a typical ingest file using FOXML.
For encoding ingest files in METS, please refer to the METS XML schema (Fedora extension) and also rules for encoding Fedora objects in METS .
The Fedora Administrator client provides a graphical user interface for ingesting objects into a Fedora repository. Behind the scenes, Administrator uses Fedora API-M, and the appropriate SOAP calls are made the the repository to accomplish the ingest. Objects are ingested as XML files.
From Fedora Administrator, select File/Ingest from the menu bar. You have the option to ingest one object from a file, or multiple objects either from a directory or from another Fedora repository.

When ingesting from a file or a directory, you will be presented with a file browsing dialog, as shown below. Select the file or directory you wish to ingest from.

Next, you will be prompted with a dialog box to indicate the XML format of your file or files. In Fedora 2.0 you have two options: FOXML and METS (Fedora Extension). Select the radio button for the appropriate format of your file or files. Note that if you are ingesting multiple files from a directory, all files must be in the same XML format. When you select the OK button your file or files will be ingested into the repository. The Fedora Administrator client makes a call the the ingest operation of API-M. A successful call results in a new digital object in the repository.

The Fedora Administrator client provides a graphical user interface for exporting objects from a Fedora repository. Behind the scenes, Administrator uses Fedora API-M, and the appropriate SOAP calls are made the the repository to accomplish the export. Objects are exported as XML files.
The Fedora export operation can be used to migrate objects from one Fedora repository to another. Export can be used for other purposes too. You can requests XML encodings of a Fedora objects from a repository to archive objects in a separate offline location. Also, you may want to dump selected objects into a directory to examine them, or perform some other function on them. Another use for export is to enable transmission of an entire object to an external service.
From Fedora Administrator, select File/Export from the menu bar. You have the option to export one object, or multiple objects by type, where type means one of the three primitive Fedora object types (FedoraObject, Fedora Behavior Definition, or Fedora Behavior Mechanism).

Next, you will presented with a file browsing dialog where you can select the directory that the file will be exported to, as shown below.

After you have selected the destination of the export file, you will be presented with the export options dialog, shown below. In this dialog you must first select the XML FORMAT that you would like the digital object to be exported in. In Fedora 2.0 there are two options: FOXML and METS (Fedora extension). Select the radio button for the format you want. Then, you must specify the export CONTEXT to make sure the export file is prepared appropriately for the purpose it will serve. There are three options:

When you select the OK button, the digital object(s) will be exported from the repository into files(s) according to the options specified. Note that the digital object still resides inside the repository since the export file is just a copy of the digital object.
If you are using the export operation to migrate objects from one repository to another, there are two ways to accomplish this via Administrator. The first option is the two-step approach. You can login into Administrator connecting to the repository you want to export from. Then, export objects into files in a directory. Then use Administrator to connect to the repository you want to migrate the objects into and ingest the objects from the directory (assuming the directory is a shared a shared disk area). Alternatively, you can let Fedora Administrator accomplish both the export and ingest in one step. To do it this way, you login to the repository you want to migrate objects into (the target repository). Then select the File/Ingest/ObjectsFromType/FromRepository menu option in Administrator. You will be prompted to enter host, port, username, and password for the repository you want to export objects from (the source repository). Fedora Adminstrator will automatically export objects from the source repository into the target repository in one step.
The Fedora Administrator client provides a command line utility for ingesting objects into a Fedora repository. Behind the scenes, Administrator uses Fedora API-M, and the appropriate SOAP calls are made the the repository to accomplish the ingest. Objects are ingested as XML files. Please see the the fedora-ingest utility in the Fedora Command Line Utility Guide
The Fedora Administrator client provides a command line utility for exporting objects from a Fedora repository. Behind the scenes, Administrator uses Fedora API-M, and the appropriate SOAP calls are made the the repository to accomplish the export. Objects are export as XML files. Please see the the fedora-export utility in the Fedora Command Line Utility Guide
Of course, you can write your own client to perform ingest and export operations on a Fedora repository. To do this, you must familiarize yourself with the operation syntax as expressed in the WSDL for API-M..