To add a literal attribute when there is no target schema:
-
Right-click an existing literal element in the XSLT pane. The context menu for the literal element appears.
-
Select Append Child > Literal Attribute. The Define Element dialog appears.
-
Under Local Name, enter a name for the literal attribute. You can optionally specify a namespace for the attribute.
-
Click OK to close the Define Attribute dialog.