About Arbortext Styler > Cutting, Copying, and Pasting > Cutting, Copying, and Pasting Conditions
  
Cutting, Copying, and Pasting Conditions
Arbortext Styler enables you to cut, copy, and paste conditions in element contexts through operations on the Edit menu, associated keyboard shortcuts, toolbar buttons, and the shortcut menu. Note that if you cut or copy a condition you include any conditions nested as children of the condition in the cut or copy action. You can cut, copy, and paste multiple conditions in a single operation.
The following procedure demonstrates how to copy and paste one or more conditions in an element context. Cutting and pasting is a similar operation, but the cut condition or conditions are removed from the Elements list.
Copying and Pasting a Context Condition
1. In Arbortext Editor, open your document and use the Styler menu to open a stylesheet.
2. In Arbortext Styler, click on the plus sign ( + ) beside the element with the context condition or conditions you want to copy in the Elements list.
The element's contexts and associated conditions are displayed.
3. Select the condition or conditions you want to copy.
You can use CTRL or SHIFT to select multiple conditions.
4. Select Edit > Copy to copy the condition or conditions.
You can also use CTRL+C or the Copy toolbar button for this operation.
5. Select the element context where you want to paste the condition or conditions in the Elements list.
You can paste conditions in the same element context, if desired.
6. Select Edit > Paste to paste the condition or conditions.
You can also use CTRL+V or the Paste toolbar button for this operation. Note the following:
Arbortext Styler pastes a copy of the condition or conditions into the selected element context. A pasted condition is identical to the original condition, even the name, regardless of where it is pasted. If the paste operation creates an invalid condition, however, this condition will be marked as such with a red strikethrough. If desired, you can use the Edit > Edit Condition operation or edit the condition's properties to modify a pasted condition.
If you have copied a condition with a namespaced element and/or attribute from a different module, and that module declares a namespace that also exists in the current module but with a different prefix, you will see that the condition's namespace prefix will change when the paste action to the current module is completed.