To add a literal attribute when there is no target schema:

  1. Right-click an existing literal element in the XSLT pane. The context menu for the literal element appears.

  2. Select Append Child > Literal Attribute. The Define Element dialog appears.

  3. Under Local Name, enter a name for the literal attribute. You can optionally specify a namespace for the attribute.

  4. Click OK to close the Define Attribute dialog.