> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Function: assembleLynxXmlArtifact()

> **assembleLynxXmlArtifact**(`source`: `string`, `options?`: [`AssembleLynxXmlArtifactOptions`](/next/api/genui/lynx-xml/interfaces/AssembleLynxXmlArtifactOptions.md)): `object`

Assemble enabled template, script, and style features without executing model code.

## Parameters

| Parameter | Type                                                                                                      |
| --------- | --------------------------------------------------------------------------------------------------------- |
| `source`  | `string`                                                                                                  |
| `options` | [`AssembleLynxXmlArtifactOptions`](/next/api/genui/lynx-xml/interfaces/AssembleLynxXmlArtifactOptions.md) |

## Returns

`object`

### text

> **text**: `string`

### xmlFragment?

> `optional` **xmlFragment?**: `string`
