Structured authoring editing views

This topic explains the editing views in Adobe FrameMaker: XML View and WYSIWYG View.

In this topic

Introduction

Adobe FrameMaker has three views that help you author your content:

XML View

XML View allows you to work with the plain XML code of your structured FrameMaker XML files.

Figure 1. XML View
XML View in Structured FrameMakerauthoringinterface

A. XML Code View B. Structure View C. Error console

FrameMaker indents the child elements by one tab space compared to their parent elements. Word wrap keeps the content of the elements visible in the width of the window. The XML view supports Unicode. You can edit multilingual content in XML View. You can also copy/paste content from the clipboard.

When you edit or change references, such as conrefs, links, and cross references, in XML View, FrameMaker updates them in WSIWYG View also. XML View automatically validates the XML content with the DTD and helps you ensure that the content is well-formed at all times. While you are working in XML View, FrameMaker automatically inserts attribute values and close tags for the tags you insert in the file.

A Find/Change dialog in XML View helps you search through the XML code. You can also use regular expressions, such as with ampersand and pipeline, to search through text. XML View also has support for XPath. You can build and use XPath expressions to locate XML content. For more information on XPath, see XPath.

The following features can be accessed using XML View only:

Console Panel

The Console panel in XML View describes the errors, if any, in the open XML files. The Console panel also displays the filename of the error. To go to the file and location of the error, click an error row.

Choose View > Panels > Errors to display the Console panel.

Structure View

XML View provides a Structure View that allows you to navigate and view the structure of your XML document. The Up and Down arrow keys let you move up and down in the Structure View.

To display the tree view, choose View > Structure View.

The following features are available in the Structure View when it is accessed through the XML View:

WYSIWYG View

WYSIWYG View is the classic FrameMaker view, which supports structured and unstructured authoring. WYSIWYG View has all the features of FrameMaker.

The following can be managed using WYSIWYG View only:

Creating your structured content in WYSIWYG View makes your authoring experience very simple. The latest release of FrameMaker has combined the authoring features from its earlier Simplified XML mode with the WYSIWYG View.

With the convergence of WYSIWYG with the Simplified XML, you do not need to know the underlying content rules or the XML structure to create or work on a structured document. The Quick Element Toolbar (QET) is also customized for authoring in WYSIWYG View, which allows you to easily insert valid objects in your structured document.

This following subsections explain the various ways to work with the most commonly used objects in the WYSIWYG View.

Work with ordered and unordered list

  • To create an ordered or unordered list in the document, choose the corresponding button in the QET.

  • To create a new list item, place the insertion point at the end of the current item and press Enter.

  • Within a list item, to insert an object (such as an image or a table), use the QET or the Insert Object pop-up.

  • To convert between ordered list and unordered lists, place the insertion point anywhere inside the list and choose the alternate list type from the QET.

  • To exit a list, place the insertion point at the end of the last list item and press the Enter key twice.

  • To insert a list item between two lists, either place the insertion point at the end of the first list item or at the start of the second list item and press Enter.

  • To split a list item into two items, place the insertion point where you want to split an item and press Enter.

  • To split a list into two, place the insertion point at the end of the first list item and press Enter twice. A new paragraph is created between the lists.

You can use the Tab, Shift tab keys or List Indent, List Outdent button in the QET to indent (nest) or outdent list items:

  • To indent a list item, place the insertion point at the start of the list item and press Tab. Or, place the insertion point anywhere in the list item and click List Indent.

    Note: The operations performed by List Indent and List Outdent buttons also work with partially selected text.
  • To reduce the indent of the list item, place the insertion point at the start of the list item and press Shift + Tab. Or, place the insertion point anywhere in the list item and click List Outdent.

  • If a list has multiple items, to nest some of the items in the list, select the items and press Tab or click List Indent.

  • To reduce the indent of any item in a nested list, place the insertion point at the start of the list item and press Shift+Tab. Or, place the insertion point anywhere in the list item and click List Outdent.

    Note: If you reduce the indent of any item in a nested list, the other items remain nested.

Work with tables

  • To insert elements after the table, click the Insert Table button in the QET.

  • To add rows or columns to the table, click in a table cell next to where you want to add the row or column, choose Table > Add Rows or Columns, and specify the number of rows or columns you want to add. You can also move rows or columns within the same or different tables, and sort the rows or columns in a table. For more information, see Table rows and columns in the Tables chapter.
  • To add a new row to the table, click Tab at the last column of the last row.

  • To move across cells in the table, you can use Tab, Shift+Tab, or arrow keys.

Work with images

  • When you are working in a DITA topic, concept, or reference document, click the Image button in the QET.

  • If you create a DITA task topic, then you are allowed to insert a graphic in the Procedure title, Short description, and Procedure steps fields. This is because in the task topics, the graphic is wrapped inside the <image> element.

  • To move the image, you need to click on the Image anchor and then drag-and-drop the image.

  • To resize an image, click to select the image object (not the Image anchor) and drag a side handle to change either the width or height.

  • To view the object properties of the imported graphic, right click the graphic and choose Object Properties. To view object properties of the anchored frame, click on the anchor and choose Graphic > Object Properties.

Switch between the views

You can switch between the three views by clicking the relevant icon in the Application bar.

Figure 4. Icons of the three views in the Application bar
Switching betweentheauthoringviewsofFrameMaker

A. XML View B. WYSIWYG View

XML View is support only for structured files. When you have unstructured files open and you switch from WYSIWYG View to XML View, FrameMaker keeps the unstructured files also in the view. When you quit FrameMaker from when there are unsaved files, FrameMaker alerts you.