> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arc.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# arc:setc

> Use arc:setc to add static text to an attribute without escaping special characters such as square brackets used in ArcScript.

export const siteNameShort = "Arc";

Use the `arc:setc` keyword to add static text without escaping the special characters (such as square brackets) in {siteNameShort}Script. While you can escape special characters with a backslash, this keyword provides a shortcut. For example, this keyword can be used to easily set an XPath.

## Parameters

* **item**: The item in which to set the attribute.
* **attr**: The name of the attribute.
* **value**: The value to assign to the attribute. If this parameter is not provided, the entire body of the `arc:setc` keyword is used as the value. This is convenient when setting long or multi-line values.
* **copyfrom**: The attributes from the item specified in this parameter are copied to the item specified by the **item** parameter.

## Control Attributes

None

## Example

Set an unescaped XPath:

```xml theme={null}
<arc:setc attr="xpath" value="/root/book[1]/@name" />
```
