# Documents XML Endpoints serving project-scoped documents as XML ## List documents for a project as XML - [GET /document-xml/documents](https://hypatos.redocly.app/openapi/documents-xml/listdocumentsxml.md): Fetches the list of documents from Studio scoped to projectId, then applies the transformation rule tagged {projectId}-list to produce XML. If the rule has addBinaryFile enabled, binary attachments are inlined as base64. ## Get a single document as XML - [GET /document-xml/documents/{id}](https://hypatos.redocly.app/openapi/documents-xml/getdocumentxml.md): Fetches a document by id from Studio and applies the transformation rule tagged {projectId} to produce XML. If the rule has addBinaryFile enabled, the binary attachment is inlined as base64.