--- title: "Object to server xml" slug: "core-server-xml-encode-resolver" updated: 2026-04-15T13:29:32Z published: 2026-04-15T13:29:32Z canonical: "docs.lobstersoftware.com/core-server-xml-encode-resolver" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Object to server xml *See also:* [Server xml to object](/v1/docs/en/core-server-xml-decode-resolver) > [!NOTE] > Value resolver – Abstract > > **Purpose:** Returns the data structure of the *input value* as text in server XML format. > > > [!TIP] > > Tooltip > > > > - **Usage**: The value resolver returns the data structure of the *input value* as text in server XML format. > > - **NOTE:** If no object is present as input value, the XML structure for "No value" (the `nil` object) is returned as text. ![images/download/attachments/102602327/image2022-6-9_17-9-56-version-1-modificationdate-1654787396767-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2022-6-9_17-9-56-version-1-modificationdate-1654787396767-api-v2.png) The [Object to server xml](/v1/docs/en/core-server-xml-encode-resolver) value resolver returns the data structure of the *input value* as text in server XML format (see [Server data encoder](/v1/docs/en/core-server-encoder)). ## Configuration The value resolver does not use any parameters. An object is expected as *input value*. **NOTE:** If no object is present as an *input value*, the following text is output as a return value (`$null`): ```xml ``` ## Examples | Input value | Configuration example | Return value (string) | | --- | --- | --- | | Text (for the server any object with `string` value) | ![images/download/attachments/102602327/image2022-6-9_17-10-43-version-1-modificationdate-1654787443341-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2022-6-9_17-10-43-version-1-modificationdate-1654787443341-api-v2.png) | ```xml HELLO WORLD! ``` | | Date/Time (`DateTime` object) | ![images/download/attachments/102602327/image2022-6-9_17-11-43-version-1-modificationdate-1654787503900-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2022-6-9_17-11-43-version-1-modificationdate-1654787503900-api-v2.png) | ```xml ``` | | Heterogeneous list of values (one `list` object with a possibly different type per `entry`) | ![images/download/attachments/102602327/image2022-6-9_17-13-14-version-1-modificationdate-1654787594074-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2022-6-9_17-13-14-version-1-modificationdate-1654787594074-api-v2.png) | ```xml 4711 0815 ``` | | Company account (as an example of an entity) | ![images/download/attachments/102602327/image2022-6-9_17-13-59-version-1-modificationdate-1654787639754-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2022-6-9_17-13-59-version-1-modificationdate-1654787639754-api-v2.png) | ```xml CNE INV FWD DPA AAL 702
...
``` |