Help > Authoring > Using Markup > Working with Invalid Markup > Ensuring Valid Markup
  
Ensuring Valid Markup
Arbortext Editor can process documents containing markup that does not conform to your FOSI, but if you want to format document content without worrying about invalid tags, you can use one of these methods:
Open two windows and cut or copy text between them using the clipboard. You can ensure that no tags are included by setting the current clipboard functionality to include no tags when cutting or copying and pasting:
1. Open the Tools > Preferences dialog box. Choose the Edit category, and clear the Clipboard Data Includes Tags setting.
Make an untagged copy of the file using the write -untagged <filename> command.
To use the write command to write all or part of a file, first open the document you want to copy all or part of.
1. To copy all, at the command line, enter the command: write -untagged -all <filename> and press ENTER, where <filename> can be any name. Example: temp
2. To copy part of the file:
a. Highlight the desired contents.
b. From the menu bar, choose Edit > Copy to place the contents in the paste buffer.
c. At the command line, enter the command:
write -untagged -paste temp
(Assuming the file name is temp.)
* 
With write -untagged, all SGML markup is removed, including tags and entity references. The command does not write out equations. You can write out table cell contents only if you display them as tags (use View > Tables > Table Markup). All table structure is lost.
3. Close the document.
4. Open the document that is receiving the copy and place the cursor at the desired insertion point.
5. From the menu bar, choose Insert > File.
6. In the dialog box that appears, enter the filename you entered in the write command.
7. Add any necessary markup tags to the inserted text, or save the file as is, and process later.