There's no clear reason to pick a single representation; it's relatively easy to support a number of representations. The client should be permitted to demand a representation. There are several places where a client can specify the representation:
- The client can use a part of a query string, such as https://host/app/class/id/?form=XML. The portion of the URL after ? uses the form value to define the output format.
- The client can use a part of the URI, such as https://host/app;XML/class/id/. The app;XML syntax names the application, app, and the format, XML, by using a sub-delimiter of ; within the path.
- The client can use the https://host/app/class/id/#XML fragment identifier. The portion of ...