Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion en/docs/develop/transform/xml.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ Modify XML structures by updating child elements or attributes. XML mutation is
<Tabs>
<TabItem value="ui" label="Visual Designer" default>

1. **Add a Variable**: Create a **Declare Variable** with the type set to `xml:Element` and initialize it using an XML literal.
1. **Add a Variable**: Create a **Declare Variable** with the type set to `xml:Element` and initialize it using an XML literal.

2. **Mutate the XML element**: Click **+** and select **Call Function**. In the right-side panel, search for `setChildren` and select it from the `lang.xml` module. Provide `doc` as the target and the replacement XML literal as the argument.

Expand Down